Skip to content
Permalink
Browse files

Fix compilation on VS 2015+

  • Loading branch information...
psychonic committed Apr 26, 2017
1 parent 1b0276b commit 63da1c34c537afae6dbf084fe088e607da7a1a4d
Showing with 3 additions and 0 deletions.
  1. +3 −0 AMBuildScript
@@ -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']

0 comments on commit 63da1c3

Please sign in to comment.
You can’t perform that action at this time.