summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--compat/macros.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp
index 57883827..761da0b1 100644
--- a/compat/macros.hpp
+++ b/compat/macros.hpp
@@ -1,12 +1,6 @@
#pragma once
#if defined _MSC_VER
-# define MEMORY_BARRIER() _ReadWriteBarrier()
-#else
-# define MEMORY_BARRIER() asm volatile("" ::: "memory")
-#endif
-
-#if defined _MSC_VER
# define cc_noinline __declspec(noinline)
#elif defined __GNUG__
# define cc_noinline __attribute__((noinline))