mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-12-01 13:24:25 +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']
|
compiler.defines += ['COMPILER_MSVC32']
|
||||||
elif builder.target.arch == 'x86_64':
|
elif builder.target.arch == 'x86_64':
|
||||||
compiler.defines += ['COMPILER_MSVC64']
|
compiler.defines += ['COMPILER_MSVC64']
|
||||||
|
|
||||||
|
if compiler.version >= 1900:
|
||||||
|
compiler.linkflags += ['legacy_stdio_definitions.lib']
|
||||||
else:
|
else:
|
||||||
compiler.defines += ['COMPILER_GCC']
|
compiler.defines += ['COMPILER_GCC']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user