diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-06-04 09:57:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:07 -0500 |
commit | 9d71e20363fba93dd83f9e5906d6776acc1ede55 (patch) | |
tree | eb4b09e605fa8be36b0563b0643b27fa2b240215 /source3/lib/replace | |
parent | 3ae5b71629df7d43801b59d8460970e924ae0b85 (diff) | |
download | samba-9d71e20363fba93dd83f9e5906d6776acc1ede55.tar.gz samba-9d71e20363fba93dd83f9e5906d6776acc1ede55.tar.bz2 samba-9d71e20363fba93dd83f9e5906d6776acc1ede55.zip |
r23335: as not all source files include replace.h/config.h
before unistd.h we need to pass -D_FILE_OFFSET_BITS=64
together with -Dpread=pread64 -Dpwrite=pwrite64
metze
(This used to be commit 1716613cc7ab8dec739adadeadbf18937682cd5c)
Diffstat (limited to 'source3/lib/replace')
-rw-r--r-- | source3/lib/replace/libreplace_cc.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/libreplace_cc.m4 b/source3/lib/replace/libreplace_cc.m4 index a01bf1b290..780cf62dec 100644 --- a/source3/lib/replace/libreplace_cc.m4 +++ b/source3/lib/replace/libreplace_cc.m4 @@ -62,7 +62,7 @@ case "$host_os" in AC_DEFINE(MMAP_BLACKLIST, 1, [Whether MMAP is broken]) 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" + CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -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]) |