rbb 99/10/21 09:43:12
Modified: src/lib/apr/include apr_portable.h Log: Remove the check for HAVE_PTHREAD_H from the common code for ap_get_thread*. This was an unecessary check, although the APR_HAS_THREADS is required. Revision Changes Path 1.10 +2 -2 apache-2.0/src/lib/apr/include/apr_portable.h Index: apr_portable.h =================================================================== RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_portable.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- apr_portable.h 1999/10/21 14:31:19 1.9 +++ apr_portable.h 1999/10/21 16:43:10 1.10 @@ -192,7 +192,7 @@ ap_status_t ap_get_os_lock(ap_os_lock_t *, ap_lock_t *); ap_status_t ap_get_os_proc(ap_os_proc_t *, ap_proc_t *); ap_status_t ap_get_os_time(ap_os_time_t **, ap_time_t *); -#if APR_HAS_THREADS && HAVE_PTHREAD_H +#if APR_HAS_THREADS ap_status_t ap_get_os_thread(ap_os_thread_t *, ap_thread_t *); ap_status_t ap_get_os_threadkey(ap_os_threadkey_t *, ap_key_t *); #endif @@ -203,7 +203,7 @@ ap_status_t ap_put_os_lock(ap_lock_t **, ap_os_lock_t *, ap_context_t *); ap_status_t ap_put_os_proc(ap_proc_t **, ap_os_proc_t *, ap_context_t *); ap_status_t ap_put_os_time(ap_time_t **, ap_os_time_t *, ap_context_t *); -#if APR_HAS_THREADS && HAVE_PTHREAD_H +#if APR_HAS_THREADS ap_status_t ap_put_os_thread(ap_thread_t **, ap_os_thread_t *, ap_context_t *); ap_status_t ap_put_os_threadkey(ap_key_t **, ap_os_threadkey_t *, ap_context_t *); #endif