Skip to content
Snippets Groups Projects
Verified Commit bd226159 authored by rahix's avatar rahix
Browse files

fix(genapi): Fix preprocessor interfering with code-gen


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent b1f671d5
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ def main():
# Evaluate the preprocessor
source = subprocess.check_output(
["gcc", "-E", "-"], input=api_src.encode()
["gcc", "-E", "-P", "-"], input=api_src.encode()
).decode()
declarations = parse_declarations(source)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment