mturk 2004/11/12 02:56:04 Modified: jk/native/common jk_mt.h Log: Add getpid for Netware without __NOVELL_LIBC__ Revision Changes Path 1.9 +5 -1 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.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- jk_mt.h 12 Nov 2004 07:46:48 -0000 1.8 +++ jk_mt.h 12 Nov 2004 10:56:03 -0000 1.9 @@ -30,7 +30,11 @@ #define jk_gettid() ((int)GetCurrentThreadId()) #elif defined(NETWARE) #define jk_gettid() ((int)GetThreadID()) +#if !defined(__NOVELL_LIBC__)
+#define getpid() ((int)GetThreadGroupID()) +#endif /* __NOVELL_LIBC__ */ #endif + /* * All WIN32 code is MT, UNIX code that uses pthreads is marked by the POSIX --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]