From 1beeaf3d4f6863c91c875282ba01702af2a7175f Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 9 Nov 2011 21:10:29 -0500 Subject: [PATCH] Removed GLIBC_2.7 dependency from spcomp (r=fyren). --- sourcepawn/compiler/AMBuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcepawn/compiler/AMBuilder b/sourcepawn/compiler/AMBuilder index 6b539b82..06a52044 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']) + compiler['CDEFINES'].extend(['LINUX', 'HAVE_STDINT_H', 'AMX_ANSIONLY', 'ENABLE_BINRELOC', '_POSIX_SOURCE']) elif AMBuild.target['platform'] == 'darwin': compiler['CDEFINES'].extend(['DARWIN', 'HAVE_STDINT_H', 'AMX_ANSIONLY', 'ENABLE_BINRELOC'])