[WinCairo] Compile error.

https://bugs.webkit.org/show_bug.cgi?id=126534

Patch by peavo@outlook.com <peavo@outlook.com> on 2014-01-08
Reviewed by Brent Fulgham.

* WebKitPrefix.h: Define __STDC_LIMIT_MACROS, so INTMAX_MAX will be defined (needed by std C++ library).

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 41cddb27
2014-01-08 peavo@outlook.com <peavo@outlook.com>
[WinCairo] Compile error.
https://bugs.webkit.org/show_bug.cgi?id=126534
Reviewed by Brent Fulgham.
* WebKitPrefix.h: Define __STDC_LIMIT_MACROS, so INTMAX_MAX will be defined (needed by std C++ library).
2014-01-06 László Langó <lango@inf.u-szeged.hu>
Use unsigned consistently, and check for invalid casts when calling into SharedBuffer from other code.
......
......@@ -38,5 +38,10 @@
#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h
#endif
// Needed for limit defines, like INTMAX_MAX, which is used by the std C++ library
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif
#include <CoreFoundation/CoreFoundation.h>
#include <WebKit/WebKit.h>
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