apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/include apr_thread_mutex.h
Date Wed, 05 Sep 2001 00:33:49 GMT
rbb         01/09/04 17:33:49

  Modified:    include  apr_thread_mutex.h
  Log:
  Fix the APR compile when --disable-threads is specified.
  Submitted by:	Justin Erenkrantz <jerenkrantz@ebuilt.com>
  
  Revision  Changes    Path
  1.2       +4 -0      apr/include/apr_thread_mutex.h
  
  Index: apr_thread_mutex.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_thread_mutex.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- apr_thread_mutex.h	2001/09/04 23:28:50	1.1
  +++ apr_thread_mutex.h	2001/09/05 00:33:49	1.2
  @@ -63,6 +63,8 @@
   extern "C" {
   #endif /* __cplusplus */
   
  +#if APR_HAS_THREADS
  +
   /**
    * @file apr_thread_mutex.h
    * @brief APR Thread Mutex Routines
  @@ -111,6 +113,8 @@
    * @param mutex the mutex to destroy.
    */
   APR_DECLARE(apr_status_t) apr_thread_mutex_destroy(apr_thread_mutex_t *mutex);
  +
  +#endif
   
   #ifdef __cplusplus
   }
  
  
  

Mime
View raw message