r23296: HP-UX 11.11 also gets sizeof(uint64_t) == 4
authorStefan Metzmacher <metze@samba.org>
Fri, 1 Jun 2007 18:36:55 +0000 (18:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:53:09 +0000 (14:53 -0500)
so try the same fix as for 11.00

metze
(This used to be commit d89088128af89122ef7e0be22697db8dda60ef58)

source4/lib/replace/libreplace_cc.m4

index 24dab3c7f86190998c0b3711b5bdde46c2fc1f0b..fe19995db24f358a86dd34522f2142798ce3ae83 100644 (file)
@@ -66,7 +66,8 @@ case "$host_os" in
                fi
                if test "`uname -r`" = "B.11.11"; then
                        AC_MSG_WARN([Enabling HPUX 11.11 header bug workaround])
-                       CFLAGS="$CFLAGS -D_LARGEFILE64_SUPPORT -D__LP64__ -DO_LARGEFILE=04000"
+                       #CFLAGS="$CFLAGS -D_LARGEFILE64_SUPPORT -D__LP64__ -DO_LARGEFILE=04000"
+                       CFLAGS="$CFLAGS -Dpread=pread64 -Dpwrite=pwrite64"
                fi
                if test "`uname -r`" = "B.11.23"; then
                        AC_MSG_WARN([Enabling HPUX 11.23 machine/sys/getppdp.h bug workaround])