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 Nov 30, 2024
1 parent 79e9746 commit 4e71080
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ env.Append(

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']
)

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

0 comments on commit 4e71080

Please sign in to comment.