You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jf...@apache.org on 2002/03/12 18:03:40 UTC
cvs commit: apr/include apr_atomic.h
jfclere 02/03/12 09:03:40
Modified: include apr_atomic.h
Log:
gcc defines __sparc__ but Sun compilers define sparc
Revision Changes Path
1.14 +1 -1 apr/include/apr_atomic.h
Index: apr_atomic.h
===================================================================
RCS file: /home/cvs/apr/include/apr_atomic.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- apr_atomic.h 26 Feb 2002 21:11:08 -0000 1.13
+++ apr_atomic.h 12 Mar 2002 17:03:40 -0000 1.14
@@ -198,7 +198,7 @@
#define APR_ATOMIC_NEED_CAS_DEFAULT 1
-#elif defined(__sparc__)
+#elif defined(__sparc__) || defined(sparc)
#define apr_atomic_t apr_uint32_t
#define apr_atomic_read(p) *p