mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-03-28 14:50:19 +01:00
Fix compilation on VS 2015+
This commit is contained in:
parent
1b0276beed
commit
63da1c34c5
@ -267,6 +267,9 @@ class MMSConfig(object):
|
||||
|
||||
if compiler.cc.behavior == 'msvc':
|
||||
compiler.defines += ['COMPILER_MSVC', 'COMPILER_MSVC32']
|
||||
|
||||
if compiler.version >= 1900:
|
||||
compiler.linkflags += ['legacy_stdio_definitions.lib']
|
||||
else:
|
||||
compiler.defines += ['COMPILER_GCC']
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user