summaryrefslogtreecommitdiff
path: root/source3/lib/replace
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-06-02 08:14:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:04 -0500
commitdd11ed64aad1190b0b9467389659520c8c0f9452 (patch)
treec9c706b9767480f388c65ba1dd68044b6ecf44cc /source3/lib/replace
parentea7f6e7afafb2da4090d02cb5eb128e3bd0ec2cd (diff)
downloadsamba-dd11ed64aad1190b0b9467389659520c8c0f9452.tar.gz
samba-dd11ed64aad1190b0b9467389659520c8c0f9452.tar.bz2
samba-dd11ed64aad1190b0b9467389659520c8c0f9452.zip
r23305: merge from samba4:
fix large file support on HP-UX 11.00 and 11.11 metze (This used to be commit 85a07e24f0c9ea7062b7f8d02279e994bc1b5dc5)
Diffstat (limited to 'source3/lib/replace')
-rw-r--r--source3/lib/replace/libreplace_cc.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/replace/libreplace_cc.m4 b/source3/lib/replace/libreplace_cc.m4
index 74c53cad99..a01bf1b290 100644
--- a/source3/lib/replace/libreplace_cc.m4
+++ b/source3/lib/replace/libreplace_cc.m4
@@ -60,9 +60,9 @@ case "$host_os" in
*hpux*)
# mmap on HPUX is completely broken...
AC_DEFINE(MMAP_BLACKLIST, 1, [Whether MMAP is broken])
- 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"
+ if test "`uname -r`" = "B.11.00" -o "`uname -r`" = "B.11.11"; then
+ AC_MSG_WARN([Enabling HPUX 11.00/11.11 header bug workaround])
+ 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])