You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2002/07/25 12:02:21 UTC

cvs commit: jakarta-tomcat-connectors/jk/native2/include jk_mutex.h

hgomez      2002/07/25 03:02:21

  Modified:    jk/native2/include jk_mutex.h
  Log:
  Correct preprocessor use of APR_HAS_THREADS, since APR
  make use of #define APR_HAS_THREADS 0 when no threads support
  (Reported by Dev Zero Ltd)
  
  Revision  Changes    Path
  1.4       +2 -2      jakarta-tomcat-connectors/jk/native2/include/jk_mutex.h
  
  Index: jk_mutex.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_mutex.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jk_mutex.h	6 Jun 2002 13:32:25 -0000	1.3
  +++ jk_mutex.h	25 Jul 2002 10:02:21 -0000	1.4
  @@ -72,7 +72,7 @@
   struct jk_env;
   struct jk_mutex;
   
  -#ifdef HAS_APR
  +#if APR_HAS_THREADS
   #include "apr_thread_mutex.h"
   #elif defined( WIN32 )
   #include <windows.h>
  @@ -118,7 +118,7 @@
       /* Private data */
       void *privateData;
   
  -#ifdef APR_HAS_THREADS
  +#if APR_HAS_THREADS
       apr_thread_mutex_t *threadMutex;
   #elif defined( WIN32 )
       CRITICAL_SECTION threadMutex;
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>