build: Add XPG6 otherwise we have a configure pb on sun Solaris
authorMatthieu Patou <mat@matws.net>
Thu, 28 Oct 2010 08:09:29 +0000 (12:09 +0400)
committerMatthieu Patou <mat@samba.org>
Thu, 28 Oct 2010 08:57:18 +0000 (08:57 +0000)
buildtools/wafsamba/wscript

index f134c07b11dccdeecba4d7f533527b2750eee05e..4c9c3e79187d4a46a74f446ff7d0a20ee868de2f 100644 (file)
@@ -267,6 +267,7 @@ def configure(conf):
         # define even during the tests otherwise detection of
         # boolean is broken
         conf.DEFINE('_STDC_C99', 1, add_to_cflags=True)
+        conf.DEFINE('_XPG6', 1, add_to_cflags=True)
     else:
         conf.ADD_CFLAGS('-fPIC', testflags=True)