Title: [154625] trunk/Source/WTF
Revision
154625
Author
[email protected]
Date
2013-08-26 11:43:59 -0700 (Mon, 26 Aug 2013)

Log Message

Undefine __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS before redefining them
https://bugs.webkit.org/show_bug.cgi?id=120313

Reviewed by Darin Adler.

* wtf/LLVMHeaders.h: Undefine the two macros before they are defined again.
This way we avoid the compilation-time warnings about the macros being invalidly redefined.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (154624 => 154625)


--- trunk/Source/WTF/ChangeLog	2013-08-26 18:42:06 UTC (rev 154624)
+++ trunk/Source/WTF/ChangeLog	2013-08-26 18:43:59 UTC (rev 154625)
@@ -1,3 +1,13 @@
+2013-08-26  Zan Dobersek  <[email protected]>
+
+        Undefine __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS before redefining them
+        https://bugs.webkit.org/show_bug.cgi?id=120313
+
+        Reviewed by Darin Adler.
+
+        * wtf/LLVMHeaders.h: Undefine the two macros before they are defined again.
+        This way we avoid the compilation-time warnings about the macros being invalidly redefined.
+
 2013-08-26  Oliver Hunt  <[email protected]>
 
         Building is so overrated.

Modified: trunk/Source/WTF/wtf/LLVMHeaders.h (154624 => 154625)


--- trunk/Source/WTF/wtf/LLVMHeaders.h	2013-08-26 18:42:06 UTC (rev 154624)
+++ trunk/Source/WTF/wtf/LLVMHeaders.h	2013-08-26 18:43:59 UTC (rev 154625)
@@ -35,6 +35,8 @@
 // - LLVM includes its C++ headers from its C headers, and its C++
 //   headers don't compile cleanly with our warnings.
 
+#undef __STDC_LIMIT_MACROS
+#undef __STDC_CONSTANT_MACROS
 #define __STDC_LIMIT_MACROS
 #define __STDC_CONSTANT_MACROS
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to