Title: [219250] trunk/Source/WTF
Revision
219250
Author
[email protected]
Date
2017-07-07 01:30:08 -0700 (Fri, 07 Jul 2017)

Log Message

Unreviewed, Windows build fix after r219233 part 4
https://bugs.webkit.org/show_bug.cgi?id=174231

* wtf/Assertions.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (219249 => 219250)


--- trunk/Source/WTF/ChangeLog	2017-07-07 07:22:12 UTC (rev 219249)
+++ trunk/Source/WTF/ChangeLog	2017-07-07 08:30:08 UTC (rev 219250)
@@ -1,3 +1,10 @@
+2017-07-07  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, Windows build fix after r219233 part 4
+        https://bugs.webkit.org/show_bug.cgi?id=174231
+
+        * wtf/Assertions.h:
+
 2017-07-06  Yusuke Suzuki  <[email protected]>
 
         Unreviewed, Windows build fix after r219233 part 3

Modified: trunk/Source/WTF/wtf/Assertions.h (219249 => 219250)


--- trunk/Source/WTF/wtf/Assertions.h	2017-07-07 07:22:12 UTC (rev 219249)
+++ trunk/Source/WTF/wtf/Assertions.h	2017-07-07 08:30:08 UTC (rev 219250)
@@ -53,7 +53,15 @@
 
 #ifdef __cplusplus
 #include <type_traits>
+
+#if OS(WINDOWS)
+#if !COMPILER(GCC_OR_CLANG)
+extern "C" void _ReadWriteBarrier(void);
+#pragma intrinsic(_ReadWriteBarrier)
 #endif
+#include <intrin.h>
+#endif
+#endif
 
 #ifdef NDEBUG
 /* Disable ASSERT* macros in release mode. */
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to