Skip to content
Permalink
Browse files
[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).

Canonical link: https://commits.webkit.org/144542@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
peavo authored and webkit-commit-queue committed Jan 8, 2014
1 parent b6c8726 commit d429351052687c949cfde94c3169a24bf4d5bbf8
Showing 2 changed files with 14 additions and 0 deletions.
@@ -1,3 +1,12 @@
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>

0 comments on commit d429351

Please sign in to comment.