summaryrefslogtreecommitdiff
path: root/sapi/nsapi
diff options
context:
space:
mode:
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