Fixed building on older macOS SDKs

This commit is contained in:
Sam Lantinga 2023-03-10 16:15:46 -08:00
parent ffe6e58c85
commit edc8f0b841

View File

@ -27,6 +27,7 @@
#ifndef MAC_OS_X_VERSION_10_12
#define NSEventTypeApplicationDefined NSApplicationDefined
typedef NSString *NSKeyValueChangeKey;
#endif
static SDL_Window *FindSDLWindowForNSWindow(NSWindow *win)