[webkit-changes] [WebKit/WebKit] 74971b: Fix Mac JSCOnly build
Elliott Williams
noreply at github.com
Fri May 26 15:25:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 74971bf54ad621a364b4c9af855ddba1176ba6e0
https://github.com/WebKit/WebKit/commit/74971bf54ad621a364b4c9af855ddba1176ba6e0
Author: Elliott Williams <emw at apple.com>
Date: 2023-05-26 (Fri, 26 May 2023)
Changed paths:
M Source/WTF/wtf/CMakeLists.txt
M Source/WTF/wtf/text/AtomString.h
M Source/WTF/wtf/text/WTFString.h
Log Message:
-----------
Fix Mac JSCOnly build
https://bugs.webkit.org/show_bug.cgi?id=257148
rdar://109674456
Reviewed by Alexey Proskuryakov.
OSLogPrintStream is now an objc++ file. Reflect this in CMakeLists.
As the JSCOnly port does not have a PLATFORM() macro, platform-derived
flags like USE(CF) are not available even though the port now does objc
compilation on macOS. To compensate, wrap use of Foundation types
(namely NSString) in USE(FOUNDATION). Both macros are based on
PLATFORM(COCOA).
* Source/WTF/wtf/CMakeLists.txt:
* Source/WTF/wtf/text/AtomString.h:
* Source/WTF/wtf/text/WTFString.h:
Canonical link: https://commits.webkit.org/264607@main
More information about the webkit-changes
mailing list