Another attempt to fix windows compilation (#556)

This commit is contained in:
Vincent Herbet
2018-09-08 21:12:57 +02:00
committed by GitHub
parent 9a2c586720
commit d2d121619f
4 changed files with 9 additions and 3 deletions

View File

@@ -36,9 +36,8 @@ if AMXX.mysql_path:
'/SECTION:.data,RW'
]
if binary.compiler.vendor == 'msvc' and binary.compiler.version >= 1900:
binary.compiler.linkflags += ['legacy_stdio_definitions.lib', 'legacy_stdio_wide_specifiers.lib']
binary.sources += [
'msvc15hack.c'
binary.sources += [
'../../public/msvc/msvc15hack.c'
]
binary.compiler.linkflags += [AMXX.zlib.binary]