From bce482c76fca80f38aba591eb687754207ba7aa4 Mon Sep 17 00:00:00 2001 From: planetmaker Date: Sun, 4 Sep 2011 17:49:08 +0000 Subject: (svn r22893) -Fix [FS#4744]: [OSX] Compilation on OSX 10.7 was broken (based on patch by leecbaker) -Add: [OSX] Support for fullscreen mode when compiled against SDK 10.7. Otherwise fullscreen mode is disabled when OpenTTD is run on OSX Lion --- src/os/macosx/macos.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/os/macosx/macos.h') diff --git a/src/os/macosx/macos.h b/src/os/macosx/macos.h index b30cc8fce..d147dfb0b 100644 --- a/src/os/macosx/macos.h +++ b/src/os/macosx/macos.h @@ -29,6 +29,14 @@ #define MAC_OS_X_VERSION_10_6 1060 #endif +#ifndef MAC_OS_X_VERSION_10_7 +#define MAC_OS_X_VERSION_10_7 1070 +#endif + +#ifndef MAC_OS_X_VERSION_10_8 +#define MAC_OS_X_VERSION_10_8 1080 +#endif + /** Helper function displaying a message the best possible way. */ void ShowMacDialog(const char *title, const char *message, const char *button_label); -- cgit v1.2.3-54-g00ecf