summaryrefslogtreecommitdiff
path: root/demos/pexpr.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-11-12 18:47:13 +0100
committertege <tege@gmplib.org>2000-11-12 18:47:13 +0100
commit95ad301d0ca3be0969987b7dc88f6d3baba98e58 (patch)
tree20bf9987a7242bf64b335117a5890845bfa1ca89 /demos/pexpr.c
parent8b1c7f23f86a7cf6ae51e5bd92ed5b03c6a67627 (diff)
downloadgmp-95ad301d0ca3be0969987b7dc88f6d3baba98e58.tar.gz
(HAVE_sigaltstack): Fix typo in testing for _UNICOS. Also test for __hpux.
Diffstat (limited to 'demos/pexpr.c')
-rw-r--r--demos/pexpr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/pexpr.c b/demos/pexpr.c
index ce1e28e54..498149eb6 100644
--- a/demos/pexpr.c
+++ b/demos/pexpr.c
@@ -120,7 +120,9 @@ char *newline = "";
#define HAVE_sigaltstack
-#if (defined (__linux__) && !defined (SA_ONSTACK)) || (_UNICOS)
+#if (defined (__linux__) && !defined (SA_ONSTACK)) \
+ || defined (_UNICOS) \
+ || defined (__hpux)
/* Older Linux have limited signal handling */
#undef HAVE_sigaltstack
#endif