diff options
Diffstat (limited to 'backends/platform/sdl/macosx/appmenu_osx.mm')
-rw-r--r-- | backends/platform/sdl/macosx/appmenu_osx.mm | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/backends/platform/sdl/macosx/appmenu_osx.mm b/backends/platform/sdl/macosx/appmenu_osx.mm index 452c386607..b02d9c56b6 100644 --- a/backends/platform/sdl/macosx/appmenu_osx.mm +++ b/backends/platform/sdl/macosx/appmenu_osx.mm @@ -26,13 +26,8 @@ #include "backends/platform/sdl/macosx/appmenu_osx.h" #include "common/translation.h" -#include <Cocoa/Cocoa.h> - -// macOS 10.12 deprecated many constants, #define the new names we need for -// older SDKs. (This approach was taken from qemu.) -#ifndef MAC_OS_X_VERSION_10_12 -#define MAC_OS_X_VERSION_10_12 101200 -#endif +#include "backends/platform/sdl/macosx/macosx-compat.h" +#include <cocoa/Cocoa.h> #if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12 #define NSEventModifierFlagCommand NSCommandKeyMask |