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:
parent
a876b9c1fb
commit
dc880c419a
@ -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']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user