From f9dafff208edecacfdc1889c1d5996b153c04379 Mon Sep 17 00:00:00 2001 From: "Rodrigo B. de Oliveira" Date: Tue, 19 Nov 2024 10:41:11 -0300 Subject: [PATCH] Disable s7 complex numbers on Windows --- SConstruct | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 8c3ff74..86fb90a 100644 --- a/SConstruct +++ b/SConstruct @@ -34,7 +34,6 @@ 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={ @@ -42,9 +41,11 @@ env.Append( "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")