Changeset 195985 in webkit


Ignore:
Timestamp:
Feb 1, 2016 3:55:07 PM (8 years ago)
Author:
mitz@apple.com
Message:

[Cocoa] Remove some more has_include guards
https://bugs.webkit.org/show_bug.cgi?id=153774

Reviewed by Tim Horton.

Guard private header includes with #if USE(APPLE_INTERNAL_SDK) rather than with has_include.

  • Platform/IPC/mac/ConnectionMac.mm:
  • Platform/IPC/mac/ImportanceAssertion.h:
  • Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h:
  • Shared/cf/ArgumentCodersCF.cpp:
  • Shared/mac/ChildProcessMac.mm:
  • Shared/mac/SecItemShim.cpp:
Location:
trunk/Source/WebKit2
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r195983 r195985  
     12016-02-01  Dan Bernstein  <mitz@apple.com>
     2
     3        [Cocoa] Remove some more __has_include guards
     4        https://bugs.webkit.org/show_bug.cgi?id=153774
     5
     6        Reviewed by Tim Horton.
     7
     8        Guard private header includes with #if USE(APPLE_INTERNAL_SDK) rather than with __has_include.
     9
     10        * Platform/IPC/mac/ConnectionMac.mm:
     11        * Platform/IPC/mac/ImportanceAssertion.h:
     12        * Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h:
     13        * Shared/cf/ArgumentCodersCF.cpp:
     14        * Shared/mac/ChildProcessMac.mm:
     15        * Shared/mac/SecItemShim.cpp:
     16
    1172016-02-01  Dan Bernstein  <mitz@apple.com>
    218
  • trunk/Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm

    r194496 r195985  
    4242#include <UIKit/UIAccessibility.h>
    4343
    44 #if __has_include(<AXRuntime/AXNotificationConstants.h>)
     44#if USE(APPLE_INTERNAL_SDK)
    4545#include <AXRuntime/AXDefines.h>
    4646#include <AXRuntime/AXNotificationConstants.h>
     
    5151#endif
    5252
    53 #if __has_include(<HIServices/AccessibilityPriv.h>)
     53#if USE(APPLE_INTERNAL_SDK)
    5454#include <HIServices/AccessibilityPriv.h>
    5555#else
  • trunk/Source/WebKit2/Platform/IPC/mac/ImportanceAssertion.h

    r194318 r195985  
    2929#if PLATFORM(MAC)
    3030
    31 #if __has_include(<libproc_internal.h>)
     31#if USE(APPLE_INTERNAL_SDK)
    3232#include <libproc_internal.h>
    3333#endif
  • trunk/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h

    r194496 r195985  
    3333
    3434#if HAVE(VOUCHERS)
    35 #if __has_include(<os/voucher_private.h>)
     35#if USE(APPLE_INTERNAL_SDK)
    3636#include <os/voucher_private.h>
    3737#else
  • trunk/Source/WebKit2/Shared/cf/ArgumentCodersCF.cpp

    r175374 r195985  
    3737#endif
    3838
    39 #if defined(__has_include) && __has_include(<Security/SecIdentityPriv.h>)
     39#if USE(APPLE_INTERNAL_SDK)
    4040#include <Security/SecIdentityPriv.h>
    4141#endif
     
    4444
    4545#if PLATFORM(IOS)
    46 #if defined(__has_include) && __has_include(<Security/SecKeyPriv.h>)
     46#if USE(APPLE_INTERNAL_SDK)
    4747#include <Security/SecKeyPriv.h>
    4848#endif
     
    5252
    5353#if HAVE(SEC_ACCESS_CONTROL)
    54 #if defined(__has_include) && __has_include(<Security/SecAccessControlPriv.h>)
     54#if USE(APPLE_INTERNAL_SDK)
    5555#include <Security/SecAccessControlPriv.h>
    5656#endif
  • trunk/Source/WebKit2/Shared/mac/ChildProcessMac.mm

    r194668 r195985  
    4242#import <wtf/spi/darwin/SandboxSPI.h>
    4343
    44 #ifdef __has_include
    45 #if __has_include(<HIServices/ProcessesPriv.h>)
     44#if USE(APPLE_INTERNAL_SDK)
    4645#include <HIServices/ProcessesPriv.h>
    47 #endif
    4846#endif
    4947
  • trunk/Source/WebKit2/Shared/mac/SecItemShim.cpp

    r180054 r195985  
    4242#include <wtf/NeverDestroyed.h>
    4343
    44 #if __has_include(<CFNetwork/CFURLConnectionPriv.h>)
     44#if USE(APPLE_INTERNAL_SDK)
    4545#include <CFNetwork/CFURLConnectionPriv.h>
    4646#else
Note: See TracChangeset for help on using the changeset viewer.