summaryrefslogtreecommitdiffstats
path: root/www/mod_jk2/files/patch-include::jk_mutex_h
blob: 0eea18125e22af51a3e448946fde3818d684ca00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- include/jk_mutex.h~	Thu Jul 31 19:30:40 2003
+++ include/jk_mutex.h	Wed Sep 10 01:33:27 2003
@@ -76,7 +76,7 @@
 #include "apr_thread_mutex.h"
 #elif defined( WIN32 )
 #include <windows.h>
-#elif defined( _REENTRANT )
+#elif defined( _THREAD_SAFE ) && defined ( FREEBSD_THREAD_HACK )
 #include <pthread.h>
 #endif
 
@@ -122,7 +122,7 @@
     apr_thread_mutex_t *threadMutex;
 #elif defined( WIN32 )
     CRITICAL_SECTION threadMutex;
-#elif defined( _REENTRANT )
+#elif defined( _THREAD_SAFE ) && defined ( FREEBSD_THREAD_HACK )
     pthread_mutex_t threadMutex;
 #else
     void *threadMutex;
OpenPOWER on IntegriCloud