jerenkrantz 01/08/11 00:32:54
Modified: include/arch/unix locks.h Log: It is possible to have pthread.h without having threads enabled. The pthread.h header has more than thread-specific functions in it. Imagine trying to use pthread_mutex_t for the cross-process mutex without having threading enabled. (The configure script won't allow that, but that's coming up next.) Revision Changes Path 1.37 +0 -3 apr/include/arch/unix/locks.h Index: locks.h =================================================================== RCS file: /home/cvs/apr/include/arch/unix/locks.h,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- locks.h 2001/07/19 00:11:56 1.36 +++ locks.h 2001/08/11 07:32:54 1.37 @@ -92,11 +92,8 @@ #ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> #endif - -#if APR_HAS_THREADS #if APR_HAVE_PTHREAD_H #include <pthread.h> -#endif #endif /* End System Headers */
