]> granicus.if.org Git - php/commitdiff
hpux needs _REENTRANT
authorThies C. Arntzen <thies@php.net>
Sat, 15 Apr 2000 17:06:21 +0000 (17:06 +0000)
committerThies C. Arntzen <thies@php.net>
Sat, 15 Apr 2000 17:06:21 +0000 (17:06 +0000)
TSRM/threads.m4

index 760499e547d4c07e0c5b1bb8eb46e3a5929e2b17..f604346bf8064a57ca07032776c00a7ee0bfc110 100644 (file)
@@ -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