summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-08-05 10:52:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:17 -0500
commit5503ec9d489998f4345d088376c63a659c8a4d92 (patch)
treeb8ae48f09f3818ac7267c412f0c952ee47270ac9
parent40448834a0a5ee4663a51cc31fc00128599b7192 (diff)
downloadsamba-5503ec9d489998f4345d088376c63a659c8a4d92.tar.gz
samba-5503ec9d489998f4345d088376c63a659c8a4d92.tar.bz2
samba-5503ec9d489998f4345d088376c63a659c8a4d92.zip
r9108: try to get aix building...
metze (This used to be commit b5277c62f2e82bb2f3fd5a091e82680deab03c77)
-rw-r--r--source4/build/m4/rewrite.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4
index 792b4bcba6..0c338eaaf4 100644
--- a/source4/build/m4/rewrite.m4
+++ b/source4/build/m4/rewrite.m4
@@ -28,6 +28,14 @@ case "$host_os" in
fi
;;
#
+# on AIX having _LARGE_FILES and _LARGE_FILE_API defined
+# causes compile errors because function will declared 2 times
+# with different prototypes
+#
+ *aix*)
+ CPPFLAGS="$CPPFLAGS -D_POSIX_SOURCE"
+ ;;
+#
# VOS may need to have POSIX support and System V compatibility enabled.
#
*vos*)