From 3408c942ab09387c399dad03e22233e33fe1e2fc Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 14 May 2010 13:21:30 +0200 Subject: 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 --- buildtools/wafsamba/wscript | 1 + 1 file changed, 1 insertion(+) (limited to 'buildtools/wafsamba/wscript') 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', -- cgit