diff options
| author | Manolo Gouy <Manolo> | 2011-01-10 12:42:17 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-10 12:42:17 +0000 |
| commit | d21d46979b1bfe09543f3127b43cf6465c41a5c6 (patch) | |
| tree | 76dd8bd995c1ca1d017c6b34d36bc1576aac1165 | |
| parent | 34c10b3557ee97f5f4580e72ba2251bc70f72238 (diff) | |
Attempt to fix STR #2513: make sure that MAC_OS_X_VERSION_10_5 is defined.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8240 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/mac.H | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -39,6 +39,22 @@ typedef void* Window; // this is really a pointer to the subclass FLWindow o typedef void* Fl_Offscreen; // this is really a CGContextRef typedef void* Fl_Bitmask; // this is really a CGImageRef +#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 +#ifndef MAC_OS_X_VERSION_10_6 +#define MAC_OS_X_VERSION_10_6 1060 +#endif +#ifndef MAC_OS_X_VERSION_MAX_ALLOWED +#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_3 +#endif + #ifndef FL_LIBRARY // this part is used when compiling an application program typedef void* Fl_Region; @@ -58,22 +74,6 @@ typedef PMPrintSettings Fl_PMPrintSettings; typedef PMPageFormat Fl_PMPageFormat; typedef PMPrintSession Fl_PMPrintSession; -#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 -#ifndef MAC_OS_X_VERSION_10_6 -#define MAC_OS_X_VERSION_10_6 1060 -#endif -#ifndef MAC_OS_X_VERSION_MAX_ALLOWED -#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_3 -#endif - typedef struct flCocoaRegion { int count; CGRect *rects; |
