Ticket #19346: corefoundation.patch

File corefoundation.patch, 625 bytes (added by mtalexander (Mike Alexander), 15 years ago)

Patch to not include CoreFoundation headers if PLATFORM(CF) is false

  • wtf/unicode/icu/CollatorICU.cpp

    old new  
    3636#include <unicode/ucol.h>
    3737#include <string.h>
    3838
    39 #if PLATFORM(DARWIN)
     39#if PLATFORM(DARWIN) && PLATFORM(CF)
    4040#include <CoreFoundation/CoreFoundation.h>
    4141#endif
    4242
  • platform/FileSystem.h

    old new  
    4141#endif
    4242#endif
    4343
    44 #if PLATFORM(DARWIN)
     44#if PLATFORM(DARWIN) && PLATFORM(CF)
    4545#include <CoreFoundation/CFBundle.h>
    4646#endif
    4747