> -----Original Message----- > From: Mladen Turk > > > -----Original Message----- > > From: Brian Pane > > > > Changes not yet made: > > - Removal of the old API (I saw two comments in favor > > of this, including my own; I'll wait for an official > > 3 +1s and no -1s before I start deleting stuff) > > - Return values for the add, subtract, and inc functions > > (I haven't figured out a way to implement these > > efficiently) > > > > Brian > > > > > > > The patch simply #defines the apr_atomic_t as LONG. >
Dissregard the previous patch ;-). MT.
RCS file: /home/cvspublic/apr/include/apr_atomic.h,v retrieving revision 1.52 diff -u -r1.52 apr_atomic.h --- apr_atomic.h 14 Sep 2003 02:56:52 -0000 1.52 +++ apr_atomic.h 19 Sep 2003 06:18:08 -0000 @@ -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)
