From: Stefan Metzmacher Date: Fri, 14 May 2010 11:21:30 +0000 (+0200) Subject: wafsamba: use -D_XOPEN_SOURCE=700 for the build X-Git-Tag: samba-3.6.0pre1~2020 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3408c942ab09387c399dad03e22233e33fe1e2fc;p=thirdparty%2Fsamba.git 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 --- diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 56f2e60a5be..88a19fe9149 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',