Skip to content

Commit

Permalink
Disable s7 complex numbers on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo committed Nov 19, 2024
1 parent b1a47d9 commit f9dafff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,18 @@ Run the following command to download godot-cpp:
sys.exit(1)

env = SConscript("godot-cpp/SConstruct", {"env": env, "customs": customs})

env.Append(
CPPPATH=["src/", "s7/"],
CPPDEFINES={
"DISABLE_DEPRECATED": "1",
"DISABLE_AUTOLOAD": "1",
"WITH_C_LOADER": "0",
"WITH_MULTITHREAD_CHECKS": "0",
"WITH_SYSTEM_EXTRAS": "0"
"WITH_SYSTEM_EXTRAS": "0",
"HAVE_COMPLEX_NUMBERS": "0" if env["platform"].startswith("win") else "1"
}
)

sources = [
Glob("src/*.cpp"),
Glob("s7/s7.c")
Expand Down

0 comments on commit f9dafff

Please sign in to comment.