summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TSRM/threads.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/TSRM/threads.m4 b/TSRM/threads.m4
index 760499e547..f604346bf8 100644
--- a/TSRM/threads.m4
+++ b/TSRM/threads.m4
@@ -45,6 +45,8 @@ AC_DEFUN(PTHREADS_FLAGS,[
PTHREAD_FLAGS="-D_THREAD_SAFE";;
*irix*)
PTHREAD_FLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS";;
+ *hpux*)
+ PTHREAD_FLAGS="-D_REENTRANT";;
esac
if test -n "$PTHREAD_FLAGS"; then