You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by da...@apache.org on 2007/06/26 19:46:56 UTC

svn commit: r550877 - /apr/apr/trunk/build/apr_hints.m4

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