1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00

Fix compilation on VS 2015+

This commit is contained in:
Nicholas Hastings 2017-04-25 20:48:07 -04:00
parent a876b9c1fb
commit dc880c419a

View File

@ -314,6 +314,9 @@ class MMSConfig(object):
compiler.defines += ['COMPILER_MSVC32']
elif builder.target.arch == 'x86_64':
compiler.defines += ['COMPILER_MSVC64']
if compiler.version >= 1900:
compiler.linkflags += ['legacy_stdio_definitions.lib']
else:
compiler.defines += ['COMPILER_GCC']