apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/atomic/unix apr_atomic.c
Date Tue, 06 Jan 2004 13:58:18 GMT
jorton      2004/01/06 05:58:18

  Modified:    atomic/unix apr_atomic.c
  Log:
  * atomic/unix/apr_atomic.c: Enable x86 asm on AMD64.
  
  Revision  Changes    Path
  1.43      +2 -1      apr/atomic/unix/apr_atomic.c
  
  Index: apr_atomic.c
  ===================================================================
  RCS file: /home/cvs/apr/atomic/unix/apr_atomic.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -b -d -u -r1.42 -r1.43
  --- apr_atomic.c	31 Dec 2003 21:37:33 -0000	1.42
  +++ apr_atomic.c	6 Jan 2004 13:58:18 -0000	1.43
  @@ -58,7 +58,8 @@
   
   #include <stdlib.h>
   
  -#if defined(__i386__) && defined(__GNUC__) && !APR_FORCE_ATOMIC_GENERIC
  +#if (defined(__i386__) || defined(__x86_64__)) \
  +    && defined(__GNUC__) && !APR_FORCE_ATOMIC_GENERIC
   
   APR_DECLARE(apr_uint32_t) apr_atomic_cas32(volatile apr_uint32_t *mem, 
                                              apr_uint32_t with,
  
  
  

Mime
View raw message