Navigation Menu

Skip to content

Commit

Permalink
Fix compilation on VS 2015+
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Mar 29, 2019
1 parent 1b0276b commit 63da1c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AMBuildScript
Expand Up @@ -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']

Expand Down

0 comments on commit 63da1c3

Please sign in to comment.