Changeset 141254 in webkit


Ignore:
Timestamp:
Jan 30, 2013 4:21:29 AM (11 years ago)
Author:
ddkilzer@apple.com
Message:

BUILD FIX: Make WebCorePrefix.h build on iOS
<http://webkit.org/b/108224>

Reviewed by Sam Weinig.

  • WebCorePrefix.h:
  • Include <wtf/Platform.h>.
  • Do not include <CoreServices/CoreServices.h> on iOS.
  • Include <Foundation/Foundation.h> instead of <Cocoa/Cocoa.h> on iOS.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r141253 r141254  
     12013-01-30  David Kilzer  <ddkilzer@apple.com>
     2
     3        BUILD FIX: Make WebCorePrefix.h build on iOS
     4        <http://webkit.org/b/108224>
     5
     6        Reviewed by Sam Weinig.
     7
     8        * WebCorePrefix.h:
     9        - Include <wtf/Platform.h>.
     10        - Do not include <CoreServices/CoreServices.h> on iOS.
     11        - Include <Foundation/Foundation.h> instead of <Cocoa/Cocoa.h>
     12          on iOS.
     13
    1142013-01-30  Patrick Gansterer  <paroga@webkit.org>
    215
  • trunk/Source/WebCore/WebCorePrefix.h

    r140930 r141254  
    11/*
    2  * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc.
     2 * Copyright (C) 2004, 2005, 2006, 2007, 2013 Apple Inc.
    33 *
    44 * This library is free software; you can redistribute it and/or
     
    2727
    2828/* Things that need to be defined globally should go into "config.h". */
     29
     30#include <wtf/Platform.h>
    2931
    3032#if defined(__APPLE__)
     
    151153#include <windows.h>
    152154#else
     155#if !PLATFORM(IOS)
    153156#include <CoreServices/CoreServices.h>
    154 #endif
     157#endif // !PLATFORM(IOS)
     158#endif // defined(WIN32) || defined(_WIN32)
    155159
    156160#endif
     
    158162
    159163#ifdef __OBJC__
     164#if PLATFORM(IOS)
     165#import <Foundation/Foundation.h>
     166#else
    160167#import <Cocoa/Cocoa.h>
     168#endif // PLATFORM(IOS)
    161169#endif
    162170
Note: See TracChangeset for help on using the changeset viewer.