summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-06-01 18:36:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:09 -0500
commit547f27daa2c6281c112031925e9d94f08723d58c (patch)
tree1e8530a3256aa356ab5f4d15cbe46a5ce2284b0a /source4/lib/replace
parent71a141ad5395f4db374c1d8191ed4c15e3c02b8c (diff)
downloadsamba-547f27daa2c6281c112031925e9d94f08723d58c.tar.gz
samba-547f27daa2c6281c112031925e9d94f08723d58c.tar.bz2
samba-547f27daa2c6281c112031925e9d94f08723d58c.zip
r23296: HP-UX 11.11 also gets sizeof(uint64_t) == 4
so try the same fix as for 11.00 metze (This used to be commit d89088128af89122ef7e0be22697db8dda60ef58)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/libreplace_cc.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4
index 24dab3c7f8..fe19995db2 100644
--- a/source4/lib/replace/libreplace_cc.m4
+++ b/source4/lib/replace/libreplace_cc.m4
@@ -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])