Created
August 29, 2019 14:04
-
-
Save illume/ac2eb4daa1bd805255d5355806acf822 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/video/cocoa/SDL_cocoavideo.h.orig Sat Jul 27 20:21:42 2019 +0200 | |
+++ src/video/cocoa/SDL_cocoavideo.h Tue Jul 30 10:04:46 2019 -0700 | |
@@ -113,9 +113,8 @@ | |
/* Utility functions */ | |
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 | |
+/* Fix build with the 10.11 SDK */ | |
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 101200 | |
#define NSEventSubtypeMouseEvent NSMouseEventSubtype | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment