apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: apr/atomic/unix apr_atomic.c
Date Fri, 05 Jul 2002 21:10:10 GMT
brianp      2002/07/05 14:10:10

  Modified:    atomic/unix apr_atomic.c
  Log:
  fix apr_atomic_init() on systems without threads
  
  Revision  Changes    Path
  1.16      +8 -0      apr/atomic/unix/apr_atomic.c
  
  Index: apr_atomic.c
  ===================================================================
  RCS file: /home/cvs/apr/atomic/unix/apr_atomic.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- apr_atomic.c	22 Apr 2002 01:49:46 -0000	1.15
  +++ apr_atomic.c	5 Jul 2002 21:10:10 -0000	1.16
  @@ -153,5 +153,13 @@
   }
   #endif /* APR_ATOMIC_NEED_CAS_DEFAULT */
   
  +#else /* !APR_HAS_THREADS */
  +
  +#if !defined(apr_atomic_init)
  +apr_status_t apr_atomic_init(apr_pool_t *p)
  +{
  +    return APR_SUCCESS;
  +}
  +#endif /* !defined(apr_atomic_init) */
   
   #endif /* APR_HAS_THREADS */
  
  
  

Mime
View raw message