Title: [125010] trunk/Source/WTF
- Revision
- 125010
- Author
- commit-qu...@webkit.org
- Date
- 2012-08-08 02:10:21 -0700 (Wed, 08 Aug 2012)
Log Message
Atomics.h has incorrect GCC test for ext/atomicity.h when using LSB compilers
https://bugs.webkit.org/show_bug.cgi?id=51974
Patch by Alvaro Lopez Ortega <alv...@alobbs.com> on 2012-08-08
Reviewed by Simon Hausmann.
* wtf/Atomics.h: Inhibits the inclusion of the atomicity.h GNU C++
extension when compiling with a LSB compliant compiler. Thanks to
Craig Scott for the new precompiler check code.
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (125009 => 125010)
--- trunk/Source/WTF/ChangeLog 2012-08-08 08:43:22 UTC (rev 125009)
+++ trunk/Source/WTF/ChangeLog 2012-08-08 09:10:21 UTC (rev 125010)
@@ -1,3 +1,14 @@
+2012-08-08 Alvaro Lopez Ortega <alv...@alobbs.com>
+
+ Atomics.h has incorrect GCC test for ext/atomicity.h when using LSB compilers
+ https://bugs.webkit.org/show_bug.cgi?id=51974
+
+ Reviewed by Simon Hausmann.
+
+ * wtf/Atomics.h: Inhibits the inclusion of the atomicity.h GNU C++
+ extension when compiling with a LSB compliant compiler. Thanks to
+ Craig Scott for the new precompiler check code.
+
2012-08-07 Yoshifumi Inoue <yo...@chromium.org>
[WTF] Add using WTF::msPerHour into DateMath.h
Modified: trunk/Source/WTF/wtf/Atomics.h (125009 => 125010)
--- trunk/Source/WTF/wtf/Atomics.h 2012-08-08 08:43:22 UTC (rev 125009)
+++ trunk/Source/WTF/wtf/Atomics.h 2012-08-08 09:10:21 UTC (rev 125010)
@@ -72,7 +72,7 @@
#elif OS(ANDROID)
#include <sys/atomics.h>
#elif COMPILER(GCC)
-#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2))
+#if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2))) && !defined(__LSB_VERSION__)
#include <ext/atomicity.h>
#else
#include <bits/atomicity.h>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes