tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_mt.h
Date Wed, 12 Jan 2005 15:25:51 GMT
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message