2
0

Fix ANSI C11 support.

This commit is contained in:
Maarten Billemont
2021-02-11 14:11:09 -05:00
parent 83fa6c39bc
commit 2e9c79f6b3
4 changed files with 26 additions and 15 deletions

View File

@@ -74,7 +74,7 @@ library {
link.linkerArgs = ['-lc', '-nodefaultlibs', '-flto']
} else if (toolChain in VisualCpp) {
// TODO: Should this be shared instead of static?
compile.compilerArgs = ['/TC', '/MT', '/Ox', '/DSODIUM_STATIC', '/DSODIUM_EXPORT=']
compile.compilerArgs = ['/TC', '/MT', '/Ox', '/DSODIUM_STATIC', '/DSODIUM_EXPORT=', '/std:c11']
}
}
}