apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r550877 - /apr/apr/trunk/build/apr_hints.m4
Date Tue, 26 Jun 2007 17:46:56 GMT
Author: davi
Date: Tue Jun 26 10:46:56 2007
New Revision: 550877

URL: http://svn.apache.org/viewvc?view=rev&rev=550877
Log:
* define the _HPUX_SOURCE feature test macro to obtain maximum functionality

The sendfile function was being used without being declared, because the
_XOPEN_SOURCE_EXTENDED macro doesn't bring sendfile (and fixups) into the
namespace.

Checked and passes sendfile tests on:

HP-UX 11i 11.11 PA-RISC 8700
HP-UX 11i v3 Itanium II

PR: 42261


Modified:
    apr/apr/trunk/build/apr_hints.m4

Modified: apr/apr/trunk/build/apr_hints.m4
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/apr_hints.m4?view=diff&rev=550877&r1=550876&r2=550877
==============================================================================
--- apr/apr/trunk/build/apr_hints.m4 (original)
+++ apr/apr/trunk/build/apr_hints.m4 Tue Jun 26 10:46:56 2007
@@ -102,7 +102,7 @@
 	APR_ADDTO(CPPFLAGS, [-DHIUX])
 	;;
     *-hp-hpux11.*)
-	APR_ADDTO(CPPFLAGS, [-DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED])
+	APR_ADDTO(CPPFLAGS, [-DHPUX11 -D_REENTRANT -D_HPUX_SOURCE])
 	;;
     *-hp-hpux10.*)
  	case $host in



Mime
View raw message