stoddard    2002/10/21 10:41:41

  Modified:    include  apr_atomic.h
  Log:
  Win32: apr_atomic_casptr. Not tested.
  
  Revision  Changes    Path
  1.39      +1 -0      apr/include/apr_atomic.h
  
  Index: apr_atomic.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_atomic.h,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- apr_atomic.h      19 Oct 2002 19:05:53 -0000      1.38
  +++ apr_atomic.h      21 Oct 2002 17:41:41 -0000      1.39
  @@ -165,6 +165,7 @@
   #define apr_atomic_read(mem)         (*mem)
   #define apr_atomic_cas(mem,with,cmp) InterlockedCompareExchange(mem,with,cmp)
   #define apr_atomic_init(pool)        APR_SUCCESS
  +#define apr_atomic_casptr(mem,with,cmp) 
InterlockedCompareExchangePointer(mem,with,cmp)
   
   #elif defined(NETWARE)
   
  
  
  

Reply via email to