From 2c301fb93766d71896d7ab8aa2a67b81024f19ba Mon Sep 17 00:00:00 2001 From: Niels Grewe Date: Sat, 28 May 2011 10:00:22 +0000 Subject: [PATCH] Disable atomic ops detection for the time being. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33163 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 ++++ Source/NSObject.m | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index e0a176dcd..c05f463ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-05-28 Niels Grewe + + * Source/NSObject.m: Disable atomic ops detection for the time being. + 2011-05-27 11:48 David Chisnall * Source/NSAutoreleasePool.m: diff --git a/Source/NSObject.m b/Source/NSObject.m index 99e4a831e..d6da11d70 100644 --- a/Source/NSObject.m +++ b/Source/NSObject.m @@ -190,6 +190,15 @@ static void GSLogZombie(id o, SEL sel) #undef GSATOMICREAD #endif +/* + * FIXME: Refrain from using atomic builtins until we know how to reliably check + * whether they do work with GCC. + */ +#ifdef USE_ATOMIC_BUILTINS +#undef USE_ATOMIC_BUILTINS +#endif + + #if defined(__MINGW__) #ifndef _WIN64 #undef InterlockedIncrement