apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: apr/include apr_atomic.h
Date Thu, 12 Sep 2002 13:29:50 GMT
jim         2002/09/12 06:29:50

  Modified:    include  apr_atomic.h
  Log:
  Ugg! It does not appear that we have ever been disabling "native"
  atomics on Solaris. Change that logic so that now APR_FORCE_ATOMIC_GENERIC
  matters :)
  
  Revision  Changes    Path
  1.36      +1 -1      apr/include/apr_atomic.h
  
  Index: apr_atomic.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_atomic.h,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- apr_atomic.h	1 Sep 2002 16:54:41 -0000	1.35
  +++ apr_atomic.h	12 Sep 2002 13:29:50 -0000	1.36
  @@ -191,7 +191,7 @@
            : "memory"); \
       prev;})
   
  -#elif defined(__sparc__) || defined(sparc) && !APR_FORCE_ATOMIC_GENERIC
  +#elif (defined(__sparc__) || defined(sparc)) && !APR_FORCE_ATOMIC_GENERIC
   
   #define apr_atomic_t apr_uint32_t
   #define apr_atomic_read(p)  *p
  
  
  

Mime
View raw message