apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/include apr_atomic.h
Date Fri, 19 Sep 2003 21:58:18 GMT
wrowe       2003/09/19 14:58:18

  Modified:    include  Tag: APR_0_9_BRANCH apr_atomic.h
  Log:
     Enable use of atomics from MSVC C++ on WIN32.
  
     Backport of include/apr_atomic.h  rev 1.53
  
  Submitted by:	Mladen Turk
  Reviewed by:	William Rowe
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.48.2.1  +1 -1      apr/include/apr_atomic.h
  
  Index: apr_atomic.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_atomic.h,v
  retrieving revision 1.48
  retrieving revision 1.48.2.1
  diff -u -r1.48 -r1.48.2.1
  --- apr_atomic.h	3 May 2003 04:11:07 -0000	1.48
  +++ apr_atomic.h	19 Sep 2003 21:58:18 -0000	1.48.2.1
  @@ -164,7 +164,7 @@
   
   #if defined(WIN32)
   
  -typedef LONG apr_atomic_t;
  +#define apr_atomic_t LONG
   
   #define apr_atomic_add(mem, val)     InterlockedExchangeAdd(mem,val)
   #define apr_atomic_dec(mem)          InterlockedDecrement(mem)
  
  
  

Mime
View raw message