summaryrefslogtreecommitdiff
path: root/www/mod_jk/files/patch-common::jk_mt-h
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_jk/files/patch-common::jk_mt-h')
-rw-r--r--www/mod_jk/files/patch-common::jk_mt-h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/mod_jk/files/patch-common::jk_mt-h b/www/mod_jk/files/patch-common::jk_mt-h
new file mode 100644
index 000000000000..16fa29736d8a
--- /dev/null
+++ b/www/mod_jk/files/patch-common::jk_mt-h
@@ -0,0 +1,11 @@
+--- common/jk_mt.h~ Thu Jun 6 03:23:25 2002
++++ common/jk_mt.h Wed Sep 10 01:22:36 2003
+@@ -70,7 +70,7 @@
+ * All WIN32 code is MT, UNIX code that uses pthreads is marked by the POSIX
+ * _REENTRANT define.
+ */
+-#if defined (WIN32) || defined(_REENTRANT)
++#if defined (WIN32) || ( defined(FREEBSD_THREAD_HACK) && defined(_THREAD_SAFE) )
+
+ /*
+ * Marks execution under MT compilation