(svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems

This commit is contained in:
bjarni 2008-08-01 17:43:11 +00:00
parent ad36ea6b29
commit 862ba19279

View File

@ -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