mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
SDL_cocoaevents.m: fix build against SDK < 10.12 after commit 0dd7024d
.
This commit is contained in:
parent
f5122377c9
commit
2f248a2a31
@ -35,6 +35,9 @@
|
|||||||
#ifndef NSAppKitVersionNumber10_8
|
#ifndef NSAppKitVersionNumber10_8
|
||||||
#define NSAppKitVersionNumber10_8 1187
|
#define NSAppKitVersionNumber10_8 1187
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef MAC_OS_X_VERSION_10_12
|
||||||
|
#define NSEventTypeApplicationDefined NSApplicationDefined
|
||||||
|
#endif
|
||||||
|
|
||||||
static SDL_Window *FindSDLWindowForNSWindow(NSWindow *win)
|
static SDL_Window *FindSDLWindowForNSWindow(NSWindow *win)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user