Title: [149116] trunk/Source/WTF
Revision
149116
Author
[email protected]
Date
2013-04-25 09:39:56 -0700 (Thu, 25 Apr 2013)

Log Message

[Windows] Compile fix.
https://bugs.webkit.org/show_bug.cgi?id=115170

Patch by [email protected] <[email protected]> on 2013-04-25
Reviewed by Filip Pizlo.

Forward declare function, instead of including intrin.h.

* wtf/Atomics.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (149115 => 149116)


--- trunk/Source/WTF/ChangeLog	2013-04-25 16:32:51 UTC (rev 149115)
+++ trunk/Source/WTF/ChangeLog	2013-04-25 16:39:56 UTC (rev 149116)
@@ -1,3 +1,14 @@
+2013-04-25  [email protected]  <[email protected]>
+
+        [Windows] Compile fix.
+        https://bugs.webkit.org/show_bug.cgi?id=115170
+
+        Reviewed by Filip Pizlo.
+
+        Forward declare function, instead of including intrin.h.
+
+        * wtf/Atomics.h:
+
 2013-04-25  Mikhail Pozdnyakov  <[email protected]>
 
         Use std::move in AtomicString

Modified: trunk/Source/WTF/wtf/Atomics.h (149115 => 149116)


--- trunk/Source/WTF/wtf/Atomics.h	2013-04-25 16:32:51 UTC (rev 149115)
+++ trunk/Source/WTF/wtf/Atomics.h	2013-04-25 16:39:56 UTC (rev 149116)
@@ -67,7 +67,8 @@
 #if OS(WINCE)
 #include <cmnintrin.h>
 #else
-#include <intrin.h>
+extern "C" void _ReadWriteBarrier(void);
+#pragma intrinsic(_ReadWriteBarrier)
 #endif
 #include <windows.h>
 #elif OS(QNX)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to