summaryrefslogtreecommitdiff
path: root/src/include/port/hpux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/hpux.h')
-rw-r--r--src/include/port/hpux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/port/hpux.h b/src/include/port/hpux.h
index b78b43fbf85..d1a6451836f 100644
--- a/src/include/port/hpux.h
+++ b/src/include/port/hpux.h
@@ -1,6 +1,11 @@
#define JMP_BUF
#define USE_POSIX_TIME
+/* HPUX 10 has full POSIX signal functionality.
+ * On HPUX 9, we rely on BSD-compatible signal() in libBSD.
+ */
+#ifdef HPUX_10
#define USE_POSIX_SIGNALS
+#endif
#define HAS_TEST_AND_SET
typedef struct
{