apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: apr/include apr_atomic.h
Date Tue, 14 Jan 2003 11:17:11 GMT
bjh         2003/01/14 03:17:10

  Modified:    include  apr_atomic.h
  Log:
  OS/2: Enable inline assembly version of atomics as they work well with EMX GCC.
  
  Revision  Changes    Path
  1.46      +1 -1      apr/include/apr_atomic.h
  
  Index: apr_atomic.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_atomic.h,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- apr_atomic.h	10 Jan 2003 23:29:18 -0000	1.45
  +++ apr_atomic.h	14 Jan 2003 11:17:10 -0000	1.46
  @@ -206,7 +206,7 @@
   #define apr_atomic_set(mem, val)     atomic_set_int(mem, val)
   #define apr_atomic_read(mem)         (*mem)
   
  -#elif defined(__linux__) && defined(__i386__) && !APR_FORCE_ATOMIC_GENERIC
  +#elif (defined(__linux__) || defined(__EMX__)) && defined(__i386__) &&
!APR_FORCE_ATOMIC_GENERIC
   
   #define apr_atomic_t apr_uint32_t
   #define apr_atomic_cas(mem,with,cmp) \
  
  
  

Mime
View raw message