Compile libtcod with `-std=c99` instead of `-ansi`
At least until vswprintf can be phased out of the library.
@@ -323,7 +323,7 @@ env.VariantDir('$VARIANT', '$LIBTCOD_ROOT_DIR')
env_libtcod = env.Clone()
env_libtcod.Append(CPPDEFINES=['LIBTCOD_EXPORTS'])
if not using_msvc:
- env_libtcod.Prepend(CFLAGS=['-ansi'])
+ env_libtcod.Prepend(CFLAGS=['-std=c99'])
if sys.platform != 'darwin':
env_libtcod.Append(LIBS=['SDL2'])
