Ticket #58767: 10.11-fix.patch
File 10.11-fix.patch, 558 bytes (added by jmroot (Joshua Root), 5 years ago) |
---|
-
src/video/cocoa/SDL_cocoavideo.h
old new typedef struct SDL_VideoData 113 113 /* Utility functions */ 114 114 extern NSImage * Cocoa_CreateImage(SDL_Surface * surface); 115 115 116 /* Fix build with the 10.10 SDK */ 117 #if MAC_OS_X_VERSION_MAX_ALLOWED < 101100 118 #define NSEventSubtypeTouch NSTouchEventSubtype 116 /* Fix build with the 10.11 SDK */ 117 #if MAC_OS_X_VERSION_MAX_ALLOWED < 101200 119 118 #define NSEventSubtypeMouseEvent NSMouseEventSubtype 120 119 #endif 121 120