• darin@apple.com's avatar
    Add PLATFORM(COCOA) and USE(FOUNDATION) · 7e45de8f
    darin@apple.com authored
    Reviewed by Anders Carlsson.
    * config.h: Use PLATFORM(COCOA) instead of PLATFORM(MAC) || PLATFORM(IOS)
    to set USE(FILE_LOCK). Would be nice to use OS(DARWIN), but that would be
    a change in behavior that might be incorrect. Removed bogus comments in
    the USE(NEW_THEME) setting code. Removed redundant code to set USE(CA),
    which exactly duplicates code that already exists in Platform.h.
    * wtf/Platform.h: Added PLATFORM(COCOA), which for now is set at exactly the same
    times that PLATFORM(MAC) is. Added USE(FOUNDATION), which is set at the same times
    that PLATFORM(COCOA) is. Re-organize the PLATFORM(MAC) and PLATFORM(IOS) settings
    in the header so they are a bit easier to read. Put HAVE_LANGINFO_H in with the
    rest of the OS(UNIX) settings and put HAVE_READLINE in with the rest of the
    OS(DARWIN) settings. Tweak formatting a bit.
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161853 268f45cc-cd09-0410-ab3c-d52691b4dbfc