From 862ba192791c732a24652c3fcc68a539da435690 Mon Sep 17 00:00:00 2001 From: bjarni Date: Fri, 1 Aug 2008 17:43:11 +0000 Subject: [PATCH] (svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems --- src/os/macosx/macos.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/os/macosx/macos.h b/src/os/macosx/macos.h index 0dc11c233a..1934d4cc9c 100644 --- a/src/os/macosx/macos.h +++ b/src/os/macosx/macos.h @@ -5,6 +5,20 @@ #ifndef MACOS_H #define MACOS_H +/* It would seem that to ensure backward compability we have to ensure that we have defined MAC_OS_X_VERSION_10_x everywhere */ +#ifndef MAC_OS_X_VERSION_10_3 +#define MAC_OS_X_VERSION_10_3 1030 +#endif + +#ifndef MAC_OS_X_VERSION_10_4 +#define MAC_OS_X_VERSION_10_4 1040 +#endif + +#ifndef MAC_OS_X_VERSION_10_5 +#define MAC_OS_X_VERSION_10_5 1050 +#endif + + /* * Functions to show the popup window * use ShowMacDialog when you want to control title, message and text on the button