Skip to content

Commit

Permalink
Set /std:c17 on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo committed Dec 1, 2024
1 parent f1a75d3 commit 50c7e9b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ s7_env = env.Clone()
s7_obj = s7_env.SharedObject(target='s7', source='s7/s7.c')
if s7_env["platform"] == "windows":
s7_env.Append(
CCFLAGS=['/std:c17'],
CPPDEFINES={
"HAVE_COMPLEX_NUMBERS": "0"
}
CCFLAGS=['/std:c17']
)

sources = [
Expand Down

0 comments on commit 50c7e9b

Please sign in to comment.