Skip to content

Commit

Permalink
Fix compat issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xia-mc committed Dec 13, 2024
1 parent b65a6aa commit b1a3259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/GenerateAVX512Bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ def main():

callCode = getCallCode(function, constantRequire)
if len(constantRequire) > 0:
argParseCode = f"#if defined(__clang__) || defined(__GNUC__)\n{argParseCode}"
argParseCode = f"#if !defined(__clang__) && !defined(__GNUC__)\n{argParseCode}"
callCode = (f"{formatCode(callCode)}\n\n"
f" Py_RETURN_NONE;\n"
f"#else\n"
Expand Down

0 comments on commit b1a3259

Please sign in to comment.