freebsd-ports/www/mod_jk/files/patch-common::jk_mt-h
Edwin Groothuis ff0b1b2d09 Update mod_jk to 1.2.4 & add optional apache2 building
This update updates mod_jk to 1.2.4 and optionally creates
	an apache2 module, if APACHE_PORT is set to ${PORTSDIR}/www/apache2

	As a separate PR, I send a new slave port that will hopefully
	see to it that there's a package at your favourite package
	site for both versions of apache.

PR:		ports/56657
Submitted by:	Palle Girgensohn <girgen@pingpong.net>
2003-09-24 08:55:01 +00:00

11 lines
395 B
Text

--- 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