Browse Source

LibJSGCVerifier: Define the NULL constant

Not sure why this throws warnings, but its a simple fix
Matthew Olsson 1 year ago
parent
commit
f3096bd4a1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Meta/Lagom/Tools/LibJSGCVerifier/src/main.py

+ 2 - 0
Meta/Lagom/Tools/LibJSGCVerifier/src/main.py

@@ -63,6 +63,8 @@ def thread_execute(file_path):
         './build/LibJSGCVerifier',
         './build/LibJSGCVerifier',
         '--extra-arg',
         '--extra-arg',
         '-DUSING_AK_GLOBALLY=1',  # To avoid errors about USING_AK_GLOBALLY not being defined at all
         '-DUSING_AK_GLOBALLY=1',  # To avoid errors about USING_AK_GLOBALLY not being defined at all
+        '--extra-arg',
+        '-DNULL=0',  # To avoid errors about NULL not being defined at all
         '-p',
         '-p',
         compile_commands_path,
         compile_commands_path,
         file_path
         file_path