apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsanc...@apache.org
Subject cvs commit: apr/build apr_threads.m4
Date Wed, 24 Jul 2002 14:21:28 GMT
wsanchez    2002/07/24 07:21:28

  Modified:    build    apr_threads.m4
  Log:
  Darwin declares sigwait() in pthread.h.
  Submitted by: Shantonu Sen <ssen@apple.com>
  
  Revision  Changes    Path
  1.6       +2 -1      apr/build/apr_threads.m4
  
  Index: apr_threads.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_threads.m4,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- apr_threads.m4	29 Apr 2001 05:22:15 -0000	1.5
  +++ apr_threads.m4	24 Jul 2002 14:21:28 -0000	1.6
  @@ -176,10 +176,11 @@
   AC_DEFUN(APR_CHECK_SIGWAIT_ONE_ARG,[
     AC_CACHE_CHECK(whether sigwait takes one argument,ac_cv_sigwait_one_arg,[
     AC_TRY_COMPILE([
  -#ifdef __NETBSD__
  +#if defined(__NETBSD__) || defined(DARWIN)
       /* When using the unproven-pthreads package, we need to pull in this
        * header to get a prototype for sigwait().  Else things will fail later
        * on.  XXX Should probably be fixed in the unproven-pthreads package.
  +     * Darwin is declaring sigwait() in the wrong place as well.
        */
   #include <pthread.h>
   #endif
  
  
  

Mime
View raw message