You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2001/09/13 14:12:50 UTC

cvs commit: apr/locks/unix thread_cond.c

trawick     01/09/13 05:12:50

  Modified:    locks/unix thread_cond.c
  Log:
  tweak the check for APR_HAS_THREADS so we pick up the symbol before
  including private APR header files which assume it
  
  Revision  Changes    Path
  1.2       +3 -2      apr/locks/unix/thread_cond.c
  
  Index: thread_cond.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/unix/thread_cond.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- thread_cond.c	2001/09/13 01:04:23	1.1
  +++ thread_cond.c	2001/09/13 12:12:50	1.2
  @@ -52,11 +52,12 @@
    * <http://www.apache.org/>.
    */
   
  -#include "thread_mutex.h"
  -#include "thread_cond.h"
  +#include "apr.h"
   
   #if APR_HAS_THREADS
   
  +#include "thread_mutex.h"
  +#include "thread_cond.h"
   
   static apr_status_t thread_cond_cleanup(void *data)
   {