Commit f3534a56 authored by zandobersek@gmail.com's avatar zandobersek@gmail.com

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.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 289f739f
2013-08-26 Zan Dobersek <zdobersek@igalia.com>
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 <oliver@apple.com>
Building is so overrated.
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment