summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 14:42:40 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 14:42:40 +0000
commit7485061dd4022edb389503f0f8cc53421e49eb83 (patch)
treeafcc60329813acadc92ad8149938bbbcf0e79c29
parente5c3c14347517ac054c0f38ced78191a01d4f896 (diff)
downloadchromium_src-7485061dd4022edb389503f0f8cc53421e49eb83.zip
chromium_src-7485061dd4022edb389503f0f8cc53421e49eb83.tar.gz
chromium_src-7485061dd4022edb389503f0f8cc53421e49eb83.tar.bz2
Fix incorrect OS_APPLE to OS_MACOSX and drop COMPILER_GCC since the code
uses the Apple APIs for atomic operations and not inline assembly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@432 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/atomicops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/atomicops.h b/base/atomicops.h
index 1b3bc02..f1742f5 100644
--- a/base/atomicops.h
+++ b/base/atomicops.h
@@ -151,7 +151,7 @@ Atomic64 Release_Load(volatile const Atomic64* ptr);
// Include our platform specific implementation.
#if defined(OS_WIN) && defined(COMPILER_MSVC) && defined(ARCH_CPU_X86_FAMILY)
#include "base/atomicops_internals_x86_msvc.h"
-#elif defined(OS_APPLE) && defined(COMPILER_GCC) && defined(ARCH_CPU_X86_FAMILY)
+#elif defined(OS_MACOSX) && defined(ARCH_CPU_X86_FAMILY)
#include "base/atomicops_internals_x86_macosx.h"
#elif defined(COMPILER_GCC) && defined(ARCH_CPU_X86_FAMILY)
#include "base/atomicops_internals_x86_gcc.h"