summaryrefslogtreecommitdiffstats
path: root/base/atomicops_internals_x86_msvc.h
diff options
context:
space:
mode:
authorctruta@blackberry.com <ctruta@blackberry.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-08 04:59:55 +0000
committerctruta@blackberry.com <ctruta@blackberry.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-08 04:59:55 +0000
commit9267710a4799c6fc0fb39e9add0871e2e7b9b6a9 (patch)
tree7dcee91965a9fd1171a659926c0b9d62f5040d43 /base/atomicops_internals_x86_msvc.h
parentf330b76298ce76aa490c787dc10b5d018ab1d6e5 (diff)
downloadchromium_src-9267710a4799c6fc0fb39e9add0871e2e7b9b6a9.zip
chromium_src-9267710a4799c6fc0fb39e9add0871e2e7b9b6a9.tar.gz
chromium_src-9267710a4799c6fc0fb39e9add0871e2e7b9b6a9.tar.bz2
Atomic ops cleanup.
Use <stdint.h> instead of "base/basictypes.h". Put AtomicOps_Internalx86CPUFeaturesInit in the anonymous namespace. Fix formatting issues. BUG= Review URL: https://codereview.chromium.org/143273005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249938 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/atomicops_internals_x86_msvc.h')
-rw-r--r--base/atomicops_internals_x86_msvc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/atomicops_internals_x86_msvc.h b/base/atomicops_internals_x86_msvc.h
index 3a2c72d..016744c 100644
--- a/base/atomicops_internals_x86_msvc.h
+++ b/base/atomicops_internals_x86_msvc.h
@@ -9,6 +9,8 @@
#include <windows.h>
+#include "base/macros.h"
+
#if defined(ARCH_CPU_64_BITS)
// windows.h #defines this (only on x64). This causes problems because the
// public API also uses MemoryBarrier at the public name for this fence. So, on