mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 09:26:25 +00:00
Don't build iOS mouse support on Apple TV
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "SDL_touch.h"
|
||||
|
||||
#ifdef __IPHONE_13_4
|
||||
#if !TARGET_OS_TV && defined(__IPHONE_13_4)
|
||||
@interface SDL_uikitview : UIView <UIPointerInteractionDelegate>
|
||||
#else
|
||||
@interface SDL_uikitview : UIView
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
- (void)setSDLWindow:(SDL_Window *)window;
|
||||
|
||||
#ifdef __IPHONE_13_4
|
||||
#if !TARGET_OS_TV && defined(__IPHONE_13_4)
|
||||
- (UIPointerRegion *)pointerInteraction:(UIPointerInteraction *)interaction regionForRequest:(UIPointerRegionRequest *)request defaultRegion:(UIPointerRegion *)defaultRegion API_AVAILABLE(ios(13.4));
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user