Skip to content

Commit

Permalink
Check for windows platform more directly
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo committed Nov 19, 2024
1 parent 05f3af2 commit fa747ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ env.Append(
"WITH_C_LOADER": "0",
"WITH_MULTITHREAD_CHECKS": "0",
"WITH_SYSTEM_EXTRAS": "0",
"HAVE_COMPLEX_NUMBERS": "0" if env["platform"].startswith("win") else "1"
"HAVE_COMPLEX_NUMBERS": "0" if env["platform"] == "windows" else "1"
}
)

Expand Down

0 comments on commit fa747ea

Please sign in to comment.