svn commit: samba r23335 - in branches/SAMBA_3_0/source/lib/replace: .

metze at samba.org metze at samba.org
Mon Jun 4 09:57:59 GMT 2007


Author: metze
Date: 2007-06-04 09:57:59 +0000 (Mon, 04 Jun 2007)
New Revision: 23335

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23335

Log:
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
Modified:
   branches/SAMBA_3_0/source/lib/replace/libreplace_cc.m4


Changeset:
Modified: branches/SAMBA_3_0/source/lib/replace/libreplace_cc.m4
===================================================================
--- branches/SAMBA_3_0/source/lib/replace/libreplace_cc.m4	2007-06-04 09:00:35 UTC (rev 23334)
+++ branches/SAMBA_3_0/source/lib/replace/libreplace_cc.m4	2007-06-04 09:57:59 UTC (rev 23335)
@@ -62,7 +62,7 @@
 		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])



More information about the samba-cvs mailing list