fuankg 2005/01/12 07:25:51 Modified: jk/native/common jk_mt.h Log: fix to make Apache 1.3 module and NS plugins for NetWare compile again. Revision Changes Path 1.13 +4 -2 jakarta-tomcat-connectors/jk/native/common/jk_mt.h Index: jk_mt.h =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_mt.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- jk_mt.h 24 Dec 2004 08:04:29 -0000 1.12 +++ jk_mt.h 12 Jan 2005 15:25:51 -0000 1.13 @@ -28,6 +28,8 @@ #if defined(WIN32) #define jk_gettid() ((int)GetCurrentThreadId()) +#elif defined(NETWARE) && !defined(__NOVELL_LIBC__) +#define getpid() ((int)GetThreadGroupID()) #endif @@ -35,7 +37,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) +#if defined (WIN32) || defined(_REENTRANT) || (defined(NETWARE) && defined(__NOVELL_LIBC__)) /* * Marks execution under MT compilation
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]