From 5503ec9d489998f4345d088376c63a659c8a4d92 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 5 Aug 2005 10:52:53 +0000 Subject: r9108: try to get aix building... metze (This used to be commit b5277c62f2e82bb2f3fd5a091e82680deab03c77) --- source4/build/m4/rewrite.m4 | 8 ++++++++ 1 file changed, 8 insertions(+) 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*) -- cgit