From 11bdd68d73a34ea7ed45117c2c3ac284c5df7802 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 9 Nov 2011 21:19:04 -0500 Subject: [PATCH] Maybe fixed build. --- sourcepawn/compiler/AMBuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcepawn/compiler/AMBuilder b/sourcepawn/compiler/AMBuilder index 06a52044..f7982203 100644 --- a/sourcepawn/compiler/AMBuilder +++ b/sourcepawn/compiler/AMBuilder @@ -16,7 +16,7 @@ elif compiler.cc.name == 'msvc': compiler['POSTLINKFLAGS'].append('/SUBSYSTEM:CONSOLE') if AMBuild.target['platform'] == 'linux': - compiler['CDEFINES'].extend(['LINUX', 'HAVE_STDINT_H', 'AMX_ANSIONLY', 'ENABLE_BINRELOC', '_POSIX_SOURCE']) + compiler['CDEFINES'].extend(['LINUX', 'HAVE_STDINT_H', 'AMX_ANSIONLY', 'ENABLE_BINRELOC', '_GNU_SOURCE']) elif AMBuild.target['platform'] == 'darwin': compiler['CDEFINES'].extend(['DARWIN', 'HAVE_STDINT_H', 'AMX_ANSIONLY', 'ENABLE_BINRELOC'])