From: foobar Date: Thu, 16 Dec 2004 11:49:48 +0000 (+0000) Subject: - Fixed compile error with HP-UX using GCC. X-Git-Tag: RELEASE_0_2~514 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb0c45d57215646e390bdcd757e750a07bb0a48e;p=php - Fixed compile error with HP-UX using GCC. --- diff --git a/configure.in b/configure.in index 12eaef29d1..770a2a2715 100644 --- a/configure.in +++ b/configure.in @@ -227,6 +227,11 @@ case $host_alias in LIBS="$LIBS -lbe -lroot";; *mips*) CPPFLAGS="$CPPFLAGS -D_XPG_IV";; +*hpux*) + if test "$GCC" = "yes"; then + CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED" + fi + ;; esac