MacCatalyst asserts when command key is raised
https://bugs.webkit.org/show_bug.cgi?id=199805
<rdar://problem/53120393>
Reviewed by Tim Horton.
Add USE_UIKIT_KEYBOARD_ADDITIONS for iOS 13+ and macCatalyst.
* wtf/FeatureDefines.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@247454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WTF/ChangeLog b/Source/WTF/ChangeLog
index 0ffc55c..2e4a5ee 100644
--- a/Source/WTF/ChangeLog
+++ b/Source/WTF/ChangeLog
@@ -1,3 +1,15 @@
+2019-07-15 Dean Jackson <dino@apple.com>
+
+ MacCatalyst asserts when command key is raised
+ https://bugs.webkit.org/show_bug.cgi?id=199805
+ <rdar://problem/53120393>
+
+ Reviewed by Tim Horton.
+
+ Add USE_UIKIT_KEYBOARD_ADDITIONS for iOS 13+ and macCatalyst.
+
+ * wtf/FeatureDefines.h:
+
2019-07-14 Chris Dumez <cdumez@apple.com>
Add threading assertion to WeakPtrFactory::createWeakPtr()
diff --git a/Source/WTF/wtf/FeatureDefines.h b/Source/WTF/wtf/FeatureDefines.h
index 1ea4637..8a5abb5 100644
--- a/Source/WTF/wtf/FeatureDefines.h
+++ b/Source/WTF/wtf/FeatureDefines.h
@@ -179,6 +179,12 @@
#endif
#endif
+#if PLATFORM(MACCATALYST) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000)
+#if !defined(USE_UIKIT_KEYBOARD_ADDITIONS)
+#define USE_UIKIT_KEYBOARD_ADDITIONS 1
+#endif
+#endif
+
#if !defined(HAVE_VISIBILITY_PROPAGATION_VIEW)
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000
#define HAVE_VISIBILITY_PROPAGATION_VIEW 1