LibJSGCVerifier: Define the NULL constant

Not sure why this throws warnings, but its a simple fix
This commit is contained in:
Matthew Olsson 2024-04-05 13:45:26 -07:00 committed by Andreas Kling
parent f5cdb5eee0
commit f3096bd4a1
Notes: sideshowbarker 2024-07-16 22:24:48 +09:00

View file

@ -63,6 +63,8 @@ def thread_execute(file_path):
'./build/LibJSGCVerifier',
'--extra-arg',
'-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',
compile_commands_path,
file_path