Permalink
Browse files

Fix compilation on VS 2015+

  • Loading branch information...
psychonic committed Apr 26, 2017
1 parent a876b9c commit dc880c419a0c5fe9bc6975e3b3dc9cbd8d7946a5
Showing with 3 additions and 0 deletions.
  1. +3 −0 AMBuildScript
View
@@ -314,6 +314,9 @@ class MMSConfig(object):
compiler.defines += ['COMPILER_MSVC32']
elif builder.target.arch == 'x86_64':
compiler.defines += ['COMPILER_MSVC64']
if compiler.version >= 1900:
compiler.linkflags += ['legacy_stdio_definitions.lib']
else:
compiler.defines += ['COMPILER_GCC']

0 comments on commit dc880c4

Please sign in to comment.