summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorUwe Schindler <thetaphi@php.net>2009-08-03 10:13:49 (GMT)
committerUwe Schindler <thetaphi@php.net>2009-08-03 10:13:49 (GMT)
commit847f6374977bf8b715d321d42e125d921f7d458e (patch)
tree9e0d56388a1829143949f71b0bf5c26e58dc35bb /sapi
parent24086c42b6ae1dc4a102e9a9acf1eef480b21268 (diff)
downloadphp-847f6374977bf8b715d321d42e125d921f7d458e.tar.gz
MFH: Fix bug #46020: With Sun Java System Web Server 7.0 on HPUX, #define HPUX
Diffstat (limited to 'sapi')
-rw-r--r--sapi/nsapi/nsapi.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c
index eea290b..2451b95 100644
--- a/sapi/nsapi/nsapi.c
+++ b/sapi/nsapi/nsapi.c
@@ -55,6 +55,13 @@
#define XP_UNIX
#endif
#endif
+
+/*
+ * The manual define of HPUX is to fix bug #46020, nsapi.h needs this to detect HPUX
+ */
+#ifdef __hpux
+#define HPUX
+#endif
/*
* NSAPI includes