Created
July 14, 2011 16:44
-
-
Save t-mat/1082831 to your computer and use it in GitHub Desktop.
EAWebKit 1.10 : Xbox360 Pseudo Patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Open Source ? Skate 3 : EA WebKit 1.10 | |
// http://gpl.ea.com/skate3.html | |
// | |
// Webkit browser for PS3 by EA available to developers | |
// http://community.us.playstation.com/thread/3332685 | |
// | |
// Origyn Web Browser | |
// http://en.wikipedia.org/wiki/Origyn_Web_Browser | |
// | |
// eawebkit/include/xmath.h (new file) | |
+ #ifndef xmath_h | |
+ #define xmath_h | |
+ | |
+ #if defined(_XBOX) | |
+ #pragma warning(push) | |
+ #pragma warning(disable : 4201) | |
+ typedef struct _CONTEXT* PCONTEXT; | |
+ #include <windef.h> | |
+ #include <winnt.h> | |
+ #include <winbase.h> | |
+ #include <xnamath.h> | |
+ #pragma warning(pop) | |
+ #endif | |
+ | |
+ #endif | |
// eawebkit/EAWebKitSupportPackages/EABaseEAWebkit/local/include/Common/EABase/eabase.h | |
#ifndef CHAR8_T_DEFINED // If the user hasn't already defined these... | |
#define CHAR8_T_DEFINED | |
#if (EA_WCHAR_SIZE == 2) | |
typedef char char8_t; | |
+ #if !defined(_CHAR16T) | |
+ #define _CHAR16T | |
typedef wchar_t char16_t; | |
+ #endif | |
typedef uint32_t char32_t; | |
#else | |
typedef char char8_t; | |
+ #if !defined(_CHAR16T) | |
+ #define _CHAR16T | |
typedef uint16_t char16_t; | |
+ #endif | |
typedef wchar_t char32_t; | |
#endif | |
#endif | |
// eawebkit/EAWebKitSupportPackages/EATextEAWebKit/local/include/EAText/EAText.h | |
#ifndef EATEXT_EATEXT_H | |
#define EATEXT_EATEXT_H | |
+ #if defined(_XBOX) | |
+ #pragma warning(disable : 4987) | |
+ #endif | |
#include <EABase/EABase.h> | |
#include <EAText/EATextConfig.h> | |
// eawebkit/Webkit-oweb/WebCore/config.h | |
/* | |
* This file was modified by Electronic Arts Inc Copyright 2010 | |
*/ | |
+ #if defined(_XBOX) | |
+ #pragma warning(disable : 4503) | |
+ #endif | |
+ | |
#include <wtf/Platform.h> | |
// eawebkit/Webkit-owb/JavaScriptCore/config.h | |
+ #if defined(_XBOX) | |
+ #pragma warning(disable : 4987) | |
+ #endif | |
#include <wtf/Platform.h> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment