summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-09-24 22:58:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:52 -0500
commitda373e23da615ca656c0a90cb7103e78deee8c91 (patch)
tree963242cb4b338763265031656b50883d8b962610 /source4
parenta6b1c74cc7f78d7d04926861634cbe310ea73ace (diff)
downloadsamba-da373e23da615ca656c0a90cb7103e78deee8c91.tar.gz
samba-da373e23da615ca656c0a90cb7103e78deee8c91.tar.bz2
samba-da373e23da615ca656c0a90cb7103e78deee8c91.zip
r10481: #define _GNU_SOURCE for comparison_fn_t test.
(This used to be commit 992016e0a975fb1699f71b769746bd04f7bbfebc)
Diffstat (limited to 'source4')
-rw-r--r--source4/SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/SConstruct b/source4/SConstruct
index 2ff867f0ad..e0378ee534 100644
--- a/source4/SConstruct
+++ b/source4/SConstruct
@@ -137,7 +137,7 @@ if hostenv['configure']:
# Pull in GNU extensions
defines['_GNU_SOURCE'] = 1
- if conf.CheckType('comparison_fn_t', '#include <stdlib.h>'):
+ if conf.CheckType('comparison_fn_t', '#define _GNU_SOURCE\n#include <stdlib.h>'):
defines['HAVE_COMPARISON_FN_T'] = 1
if conf.CheckType('sig_atomic_t', '#include <signal.h>'):