mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-06 18:08:31 +00: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':
|
if compiler.cc.behavior == 'msvc':
|
||||||
compiler.defines += ['COMPILER_MSVC', 'COMPILER_MSVC32']
|
compiler.defines += ['COMPILER_MSVC', 'COMPILER_MSVC32']
|
||||||
|
|
||||||
|
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