diff options
author | Cameron Cawley | 2018-08-28 15:26:32 +0100 |
---|---|---|
committer | David Turner | 2018-08-28 17:39:30 +0100 |
commit | 9dc2820a33630df29b2583ae595ea0591bc7efd5 (patch) | |
tree | d375df8788d9fddfdd670809bc40b08e199e7570 /backends/platform/sdl | |
parent | ce9e90d81d9b0ee22cfefc5e65c47fb89c89accc (diff) | |
download | scummvm-rg350-9dc2820a33630df29b2583ae595ea0591bc7efd5.tar.gz scummvm-rg350-9dc2820a33630df29b2583ae595ea0591bc7efd5.tar.bz2 scummvm-rg350-9dc2820a33630df29b2583ae595ea0591bc7efd5.zip |
MACOSX: Fix compilation with the 10.4 SDK
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/macosx/appmenu_osx.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/sdl/macosx/appmenu_osx.mm b/backends/platform/sdl/macosx/appmenu_osx.mm index 4e0e11a94f..466356b06d 100644 --- a/backends/platform/sdl/macosx/appmenu_osx.mm +++ b/backends/platform/sdl/macosx/appmenu_osx.mm @@ -39,6 +39,10 @@ #define NSEventModifierFlags NSUInteger #endif +#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5 +typedef unsigned long NSUInteger; +#endif + // Apple added setAppleMenu in 10.5 and removed it in 10.6. // But as the method still exists we declare it ourselves here. // Yes, this works :) |