Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
632 B
Diff
18 lines
632 B
Diff
diff --git a/apple/reanimated/apple/REAReducedMotion.h b/apple/reanimated/apple/REAReducedMotion.h
|
|
index 5e22e18c7abe91f6ca6b1a58a5ff14a0f4e97647..7eabe9952af372982eb24595f999321b966996f7 100644
|
|
--- a/apple/reanimated/apple/REAReducedMotion.h
|
|
+++ b/apple/reanimated/apple/REAReducedMotion.h
|
|
@@ -1,10 +1,9 @@
|
|
#import <Foundation/Foundation.h>
|
|
|
|
+// Mac Catalyst can see AppKit too, but its Quickdraw types clash with React's.
|
|
#if __has_include(<UIKit/UIAccessibility.h>)
|
|
#import <UIKit/UIAccessibility.h>
|
|
-#endif
|
|
-
|
|
-#if __has_include(<AppKit/AppKit.h>)
|
|
+#elif __has_include(<AppKit/AppKit.h>)
|
|
#import <AppKit/AppKit.h>
|
|
#endif
|
|
|