freebsd-ports/www/mod_jk/files/patch-common::jk_mt-h
Palle Girgensohn 22337ace0a Update to 1.2.14.1. Thanks to Ari Suutari for providing the original
patch.

Approved by: seanc, ade (implicit)
2005-07-26 21:46:33 +00:00

11 lines
490 B
Text

--- common/jk_mt.h.orig Sat Apr 16 16:33:27 2005
+++ common/jk_mt.h Sat Jul 23 02:30:22 2005
@@ -36,7 +36,7 @@
* All WIN32 code is MT, UNIX code that uses pthreads is marked by the POSIX
* _REENTRANT define.
*/
-#if defined (WIN32) || defined(_REENTRANT) || (defined(NETWARE) && defined(__NOVELL_LIBC__))
+#if defined (WIN32) || ( defined(FREEBSD_THREAD_HACK) && defined(_THREAD_SAFE) ) || (defined(NETWARE) && defined(__NOVELL_LIBC__))
#ifdef JK_PREFORK
#define _MT_CODE 0
#else