svn commit: samba r18284 - in branches/SAMBA_4_0/source/lib/replace: .

tridge at samba.org tridge at samba.org
Sat Sep 9 03:16:06 GMT 2006


Author: tridge
Date: 2006-09-09 03:16:05 +0000 (Sat, 09 Sep 2006)
New Revision: 18284

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

Log:

enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definition
of sendfile()

Modified:
   branches/SAMBA_4_0/source/lib/replace/libreplace.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-09 02:52:41 UTC (rev 18283)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-09 03:16:05 UTC (rev 18284)
@@ -18,6 +18,12 @@
 AC_PROG_CC
 AC_PROG_INSTALL
 
+AH_VERBATIM([_XOPEN_SOURCE_EXTENDED],
+[/* Enable XOPEN extensions on systems that have them.  */
+#ifndef _XOPEN_SOURCE_EXTENDED
+# define _XOPEN_SOURCE_EXTENDED 1
+#endif])
+
 LIBREPLACE_C99_STRUCT_INIT([],[])
 
 AC_SYS_LARGEFILE



More information about the samba-cvs mailing list