summaryrefslogtreecommitdiff
path: root/sapi/nsapi
diff options
context:
space:
mode:
authorUwe Schindler <thetaphi@php.net>2009-08-03 10:13:49 +0000
committerUwe Schindler <thetaphi@php.net>2009-08-03 10:13:49 +0000
commit847f6374977bf8b715d321d42e125d921f7d458e (patch)
tree9e0d56388a1829143949f71b0bf5c26e58dc35bb /sapi/nsapi
parent24086c42b6ae1dc4a102e9a9acf1eef480b21268 (diff)
downloadphp-git-847f6374977bf8b715d321d42e125d921f7d458e.tar.gz
MFH: Fix bug #46020: With Sun Java System Web Server 7.0 on HPUX, #define HPUX
Diffstat (limited to 'sapi/nsapi')
-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 eea290b01c..2451b95c72 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