summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-05-14 13:21:30 +0200
committerStefan Metzmacher <metze@samba.org>2010-05-14 13:38:38 +0200
commit3408c942ab09387c399dad03e22233e33fe1e2fc (patch)
tree211f6cfc2adee91e354a26232040374df59c5e1f
parente92f9c57b4347c17c5ef216d1b64caddcd2e8f54 (diff)
downloadsamba-3408c942ab09387c399dad03e22233e33fe1e2fc.tar.gz
samba-3408c942ab09387c399dad03e22233e33fe1e2fc.tar.bz2
samba-3408c942ab09387c399dad03e22233e33fe1e2fc.zip
wafsamba: use -D_XOPEN_SOURCE=700 for the build
Some systems set this automaticly via -D_GNU_SOURCE=1, but on others we need to set it ourself (e.g. Mac OS 10.4) metze
-rw-r--r--buildtools/wafsamba/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 56f2e60a5b..88a19fe914 100644
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -229,6 +229,7 @@ def configure(conf):
conf.DEFINE('_GNU_SOURCE', 1, add_to_cflags=True)
conf.DEFINE('_XOPEN_SOURCE_EXTENDED', 1, add_to_cflags=True)
+ conf.DEFINE('_XOPEN_SOURCE', 700, add_to_cflags=True)
# get the base headers we'll use for the rest of the tests
conf.CHECK_HEADERS('stdio.h sys/types.h sys/stat.h stdlib.h stddef.h memory.h string.h',