Changeset 195184 in webkit


Ignore:
Timestamp:
Jan 17, 2016 2:24:59 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Ensure that CF_AVAILABLE is undefined when building webkit-gtk

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

This change ensures that CF_AVAILABLE is correctly a no-op to
address build failure that was observed when building on older
versions of OSX. Previously, CF_AVAILABLE may have been unexpectedly
re-defined to the system header value based on include-order.

Patch by Jeremy Huddleston Sequoia <jeremyhu@apple.com> on 2016-01-17
Reviewed by Michael Catanzaro.

  • API/WebKitAvailability.h:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/API/WebKitAvailability.h

    r190862 r195184  
    2727#define __WebKitAvailability__
    2828
    29 #if defined(__APPLE__) && !defined(BUILDING_GTK__)
     29#if defined(__APPLE__)
    3030
    3131#include <AvailabilityMacros.h>
     
    6565#endif /* __MAC_OS_X_VERSION_MIN_REQUIRED <= 101100 */
    6666
     67#if defined(BUILDING_GTK__)
     68#undef CF_AVAILABLE
     69#define CF_AVAILABLE(_mac, _ios)
     70#endif
     71
    6772#else
    6873#define CF_AVAILABLE(_mac, _ios)
  • trunk/Source/JavaScriptCore/ChangeLog

    r195182 r195184  
     12016-01-17  Jeremy Huddleston Sequoia  <jeremyhu@apple.com>
     2
     3        Ensure that CF_AVAILABLE is undefined when building webkit-gtk
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=152720
     6
     7        This change ensures that CF_AVAILABLE is correctly a no-op to
     8        address build failure that was observed when building on older
     9        versions of OSX.  Previously, CF_AVAILABLE may have been unexpectedly
     10        re-defined to the system header value based on include-order.
     11
     12        Reviewed by Michael Catanzaro.
     13
     14        * API/WebKitAvailability.h:
     15
    1162016-01-17  Julien Brianceau  <jbriance@cisco.com>
    217
Note: See TracChangeset for help on using the changeset viewer.