summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-11-09 18:58:43 -0600
committerChristian Ambach <ambi@samba.org>2012-11-09 19:15:24 +0100
commit3712de7b9c494f6e01782e837f369e8beb5a054e (patch)
tree695ac95b0ba9ec97b292253be60e7db5233e15ce /buildtools
parent52057477ee0642af4d6e9c220195c0933de7ba2e (diff)
downloadsamba-3712de7b9c494f6e01782e837f369e8beb5a054e.tar.gz
samba-3712de7b9c494f6e01782e837f369e8beb5a054e.tar.bz2
samba-3712de7b9c494f6e01782e837f369e8beb5a054e.zip
build(waf): support AIX 6.1
on AIX6.1, we need to define _ALL_SOURCE as well, otherwise system headers with BSD types like u_int cannot be used
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/wafsamba/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 441e727a5b..17aef278e9 100755
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -322,7 +322,7 @@ def configure(conf):
else:
conf.env.HAVE_LD_VERSION_SCRIPT = False
- if sys.platform == "aix5":
+ if sys.platform == "aix5" or sys.platform == "aix6":
conf.DEFINE('_ALL_SOURCE', 1, add_to_cflags=True)
# Might not be needed if ALL_SOURCE is defined
# conf.DEFINE('_XOPEN_SOURCE', 600, add_to_cflags=True)