Changeset 141468 in webkit
- Timestamp:
- Jan 31, 2013 12:52:29 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r141466 r141468 1 2013-01-31 David Kilzer <ddkilzer@apple.com> 2 3 Use OS() and PLATFORM() macros in WebCorePrefix.h for readability 4 <http://webkit.org/b/108374> 5 6 Reviewed by Laszlo Gombos. 7 8 * WebCorePrefix.h: Replaced all possible checks with OS() or 9 PLATFORM() macros other than __APPLE__. 10 1 11 2013-01-31 Mike West <mkwst@chromium.org> 2 12 -
trunk/Source/WebCore/WebCorePrefix.h
r141254 r141468 38 38 #endif 39 39 40 #if defined(WIN32) || defined(_WIN32)40 #if OS(WINDOWS) 41 41 42 42 #ifndef _WIN32_WINNT … … 48 48 #endif 49 49 50 #if ndef WTF_USE_CURL50 #if !USE(CURL) 51 51 #ifndef _WINSOCKAPI_ 52 52 #define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h … … 65 65 #include <pthread.h> 66 66 67 #endif // defined(WIN32) || defined(_WIN32)67 #endif // OS(WINDOWS) 68 68 69 69 #include <sys/types.h> … … 75 75 // On Linux this causes conflicts with libpng because there are two impls. of 76 76 // longjmp - see here: https://bugs.launchpad.net/ubuntu/+source/libpng/+bug/218409 77 #if ndef BUILDING_WX__77 #if !PLATFORM(WX) 78 78 #include <setjmp.h> 79 79 #endif … … 133 133 #endif 134 134 135 #if ! defined(BUILDING_WX__)135 #if !PLATFORM(WX) 136 136 #include <CoreFoundation/CoreFoundation.h> 137 #if def WTF_PLATFORM_WIN_CAIRO137 #if PLATFORM(WIN_CAIRO) 138 138 #include <ConditionalMacros.h> 139 139 #include <windows.h> 140 140 #else 141 141 142 #if defined(WIN32) || defined(_WIN32)142 #if OS(WINDOWS) 143 143 // FIXME <rdar://problem/8208868> Remove support for obsolete ColorSync API, CoreServices header in CoreGraphics 144 144 // We can remove this once the new ColorSync APIs are available in an internal Safari SDK. … … 156 156 #include <CoreServices/CoreServices.h> 157 157 #endif // !PLATFORM(IOS) 158 #endif // defined(WIN32) || defined(_WIN32)158 #endif // OS(WINDOWS) 159 159 160 160 #endif 161 #endif // ! defined(BUILDING_WX__)161 #endif // !PLATFORM(WX) 162 162 163 163 #ifdef __OBJC__
Note: See TracChangeset
for help on using the changeset viewer.