diff options
author | davi <davi@13f79535-47bb-0310-9956-ffa450edef68> | 2007-06-26 23:47:46 +0000 |
---|---|---|
committer | davi <davi@13f79535-47bb-0310-9956-ffa450edef68> | 2007-06-26 23:47:46 +0000 |
commit | fed02dafabf5cb8ee44a07c4c583976440c81052 (patch) | |
tree | 377b875dbff3f322abdfa8a0d3b52dc84d605706 | |
parent | 338eb8a58363bd19f3a98e898f9e9f79afb41335 (diff) | |
download | libapr-fed02dafabf5cb8ee44a07c4c583976440c81052.tar.gz |
Merge r550877 from trunk:
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
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x@550989 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | build/apr_hints.m4 | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ Changes for APR 1.2.10 - + *) Define the _HPUX_SOURCE feature test macro to obtain maximum + functionality. PR 42261. [Davi Arnaut] Changes for APR 1.2.9 diff --git a/build/apr_hints.m4 b/build/apr_hints.m4 index 29a711761..101d77376 100644 --- a/build/apr_hints.m4 +++ b/build/apr_hints.m4 @@ -102,7 +102,7 @@ if test "x$apr_preload_done" != "xyes" ; then 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 |