-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=126859 Reviewed by Anders Carlsson. Source/WebCore: * 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. Source/WTF: * 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
7e45de8f