mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
Fix build with the 10.10 SDK
This commit is contained in:
0
Xcode-iOS/Demos/Demos.xcodeproj/project.pbxproj
Normal file → Executable file
0
Xcode-iOS/Demos/Demos.xcodeproj/project.pbxproj
Normal file → Executable file
0
Xcode-iOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj
Normal file → Executable file
0
Xcode-iOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj
Normal file → Executable file
@@ -113,6 +113,12 @@ typedef struct SDL_VideoData
|
|||||||
/* Utility functions */
|
/* Utility functions */
|
||||||
extern NSImage * Cocoa_CreateImage(SDL_Surface * surface);
|
extern NSImage * Cocoa_CreateImage(SDL_Surface * surface);
|
||||||
|
|
||||||
|
/* Fix build with the 10.10 SDK */
|
||||||
|
#if MAC_OS_X_VERSION_MAX_ALLOWED < 101100
|
||||||
|
#define NSEventSubtypeTouch NSTouchEventSubtype
|
||||||
|
#define NSEventSubtypeMouseEvent NSMouseEventSubtype
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* SDL_cocoavideo_h_ */
|
#endif /* SDL_cocoavideo_h_ */
|
||||||
|
|
||||||
/* vi: set ts=4 sw=4 expandtab: */
|
/* vi: set ts=4 sw=4 expandtab: */
|
||||||
|
|||||||
Reference in New Issue
Block a user