Ticket #53975: patch-lib-system-certs.c.2.diff

File patch-lib-system-certs.c.2.diff, 505 bytes (added by kencu (Ken), 8 years ago)
  • ./lib/system/certs.c

    old new  
    4747#ifdef __APPLE__
    4848# include <CoreFoundation/CoreFoundation.h>
    4949# include <Security/Security.h>
     50#ifndef __MAC_OS_X_VERSION_MIN_REQUIRED
     51#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050
    5052# include <Availability.h>
     53#else
     54# include <AvailabilityMacros.h>
     55#endif
    5156#endif
     57#endif
     58
    5259
    5360/* System specific function wrappers for certificate stores.
    5461 */