diff options
author | Sam Bingner <sam@bingner.com> | 2018-10-04 15:06:42 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-10-04 15:06:42 -1000 |
commit | d9d8c1a0f568f255d6274344f50cb5af5759ab4c (patch) | |
tree | a500c4e8cc002e52d48abda28a053100dc17ec16 /CyteKit/WebViewController.mm | |
parent | bc025a21e2e1e2efb588144d85f741ab78735c86 (diff) |
Specify arches to compile via variable and clear up iOS11 availability warningv1.1.32%b2
Diffstat (limited to 'CyteKit/WebViewController.mm')
-rw-r--r-- | CyteKit/WebViewController.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm index 329d568..0394834 100644 --- a/CyteKit/WebViewController.mm +++ b/CyteKit/WebViewController.mm @@ -213,7 +213,8 @@ static _H<NSMutableSet> Diversions_; + (void) _initialize { [WebPreferences _setInitialDefaultTextEncodingToSystemEncoding]; - [WebPreferences setWebKitLinkTimeVersion:PACKED_VERSION(3453,0,0)]; + if ([WebPreferences respondsToSelector:@selector(setWebKitLinkTimeVersion:)]) + [WebPreferences setWebKitLinkTimeVersion:PACKED_VERSION(3453,0,0)]; void *js(NULL); if (js == NULL) |