summarylogtreecommitdiffstats
path: root/0007-Include-intrin.h-for-declaration-of-_mm_mfence.patch
diff options
context:
space:
mode:
Diffstat (limited to '0007-Include-intrin.h-for-declaration-of-_mm_mfence.patch')
-rw-r--r--0007-Include-intrin.h-for-declaration-of-_mm_mfence.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0007-Include-intrin.h-for-declaration-of-_mm_mfence.patch b/0007-Include-intrin.h-for-declaration-of-_mm_mfence.patch
new file mode 100644
index 000000000000..c0cfc92dbcac
--- /dev/null
+++ b/0007-Include-intrin.h-for-declaration-of-_mm_mfence.patch
@@ -0,0 +1,25 @@
+From 24eda987a27f9b8b66acacce9a31cfc34b480154 Mon Sep 17 00:00:00 2001
+From: Martchus <martchus@gmx.net>
+Date: Sun, 25 Sep 2016 22:21:54 +0200
+Subject: [PATCH 7/9] Include intrin.h for declaration of _mm_mfence
+
+---
+ Source/WTF/wtf/Atomics.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Source/WTF/wtf/Atomics.h b/Source/WTF/wtf/Atomics.h
+index 8f950c7..142c0db 100644
+--- a/Source/WTF/wtf/Atomics.h
++++ b/Source/WTF/wtf/Atomics.h
+@@ -68,6 +68,8 @@
+ #elif !COMPILER(GCC)
+ extern "C" void _ReadWriteBarrier(void);
+ #pragma intrinsic(_ReadWriteBarrier)
++#else
++#include <intrin.h>
+ #endif
+ #include <windows.h>
+ #elif OS(QNX)
+--
+2.10.2
+