summaryrefslogtreecommitdiffstats
path: root/base/atomicops_internals_x86_msvc.h
diff options
context:
space:
mode:
authormostynb <mostynb@opera.com>2014-12-19 04:47:46 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-19 12:48:35 +0000
commit7e42a8f70f08bb903ba610afd573ebbfdce5a1d6 (patch)
treec5b002e3afe428f3f781a85f02f04153b87b135a /base/atomicops_internals_x86_msvc.h
parentc95780419a4c972b6017eee18a435a0fe1e3e8e0 (diff)
downloadchromium_src-7e42a8f70f08bb903ba610afd573ebbfdce5a1d6.zip
chromium_src-7e42a8f70f08bb903ba610afd573ebbfdce5a1d6.tar.gz
chromium_src-7e42a8f70f08bb903ba610afd573ebbfdce5a1d6.tar.bz2
remove some dead visual studio < 2013 code
We only support building for windows with Visual Studio 2013 Update 4 now, so let's remove dead code that is only used for older Visual Studio versions. BUG=442035,158570 Review URL: https://codereview.chromium.org/798163004 Cr-Commit-Position: refs/heads/master@{#309187}
Diffstat (limited to 'base/atomicops_internals_x86_msvc.h')
-rw-r--r--base/atomicops_internals_x86_msvc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/base/atomicops_internals_x86_msvc.h b/base/atomicops_internals_x86_msvc.h
index 0269d89..26f1813 100644
--- a/base/atomicops_internals_x86_msvc.h
+++ b/base/atomicops_internals_x86_msvc.h
@@ -55,9 +55,6 @@ inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr,
return Barrier_AtomicIncrement(ptr, increment);
}
-#if !(defined(_MSC_VER) && _MSC_VER >= 1400)
-#error "We require at least vs2005 for MemoryBarrier"
-#endif
inline void MemoryBarrier() {
#if defined(ARCH_CPU_64_BITS)
// See #undef and note at the top of this file.