From 4d42fa03051f155868ce93bc09aeeafa1e55e913 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 22 Aug 2014 20:41:24 -0700 Subject: [PATCH] Fix Windows build. --- sourcepawn/compiler/AMBuilder | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sourcepawn/compiler/AMBuilder b/sourcepawn/compiler/AMBuilder index 689281a0..4d13ec91 100644 --- a/sourcepawn/compiler/AMBuilder +++ b/sourcepawn/compiler/AMBuilder @@ -60,10 +60,10 @@ elif compiler.cc.behavior == 'msvc': compiler.linkflags.append('/SUBSYSTEM:CONSOLE') compiler.cxxflags.remove('/TP') +compiler.defines += ['HAVE_STDINT_H'] if builder.target_platform == 'linux': compiler.defines += [ 'LINUX', - 'HAVE_STDINT_H', 'AMX_ANSIONLY', 'ENABLE_BINRELOC', '_GNU_SOURCE' @@ -71,7 +71,6 @@ if builder.target_platform == 'linux': elif builder.target_platform == 'mac': compiler.defines += [ 'DARWIN', - 'HAVE_STDINT_H', 'AMX_ANSIONLY', 'ENABLE_BINRELOC', 'HAVE_SAFESTR'