[svn:parrot] r39977 - trunk/include/parrot

fperrad at svn.parrot.org fperrad at svn.parrot.org
Fri Jul 10 08:35:52 UTC 2009


Author: fperrad
Date: Fri Jul 10 08:35:52 2009
New Revision: 39977
URL: https://trac.parrot.org/parrot/changeset/39977

Log:
[cage] remove useless define PARROT_HAS_NATIVE_ATOMIC

Modified:
   trunk/include/parrot/atomic.h

Modified: trunk/include/parrot/atomic.h
==============================================================================
--- trunk/include/parrot/atomic.h	Fri Jul 10 08:20:13 2009	(r39976)
+++ trunk/include/parrot/atomic.h	Fri Jul 10 08:35:52 2009	(r39977)
@@ -17,8 +17,6 @@
 #  include "parrot/has_header.h"
 #  include "parrot/thread.h"
 
-#  define PARROT_HAS_NATIVE_ATOMIC 1      /* we'll redefine later if need be */
-
 #ifdef PARROT_HAS_THREADS
 #  if defined(PARROT_HAS_I386_GCC_CMPXCHG)
 #    include "parrot/atomic/gcc_x86.h"
@@ -27,8 +25,6 @@
 #  elif defined(PARROT_HAS_SPARC_ATOMIC)
 #    include "parrot/atomic/sparc.h"
 #  else
-#    undef PARROT_HAS_NATIVE_ATOMIC
-#    define PARROT_HAS_NATIVE_ATOMIC 0
 #    include "parrot/atomic/fallback.h"
 #  endif
 #else
@@ -82,7 +78,6 @@
 #  define PARROT_ATOMIC_INT_INC(result, a) ((result) = ++(a).val)
 #  define PARROT_ATOMIC_INT_DEC(result, a) ((result) = --(a).val)
 
-
 #endif /* PARROT_HAS_THREADS */
 
 #endif /* PARROT_ATOMIC_H_GUARD */


More information about the parrot-commits mailing list