diff options
| author | Manolo Gouy <Manolo> | 2014-04-27 13:57:09 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-04-27 13:57:09 +0000 |
| commit | 6c92cc9a8d7e5b3aa90e3b4541201dbbd4ef3fc4 (patch) | |
| tree | 78570da3b35f825cc983576f3408b450bf8ecce8 /FL/mac.H | |
| parent | 6ae1b1665ef7d092f70270a8cc4e21ab9d8a96f0 (diff) | |
Fix STR#3063: compilation using Mac OS 10.4
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/mac.H')
| -rw-r--r-- | FL/mac.H | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -49,6 +49,22 @@ typedef CGContextRef Fl_Offscreen; #include <ApplicationServices/ApplicationServices.h> #undef check // because of Fl::check() +#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_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 + #ifdef __OBJC__ @class NSCursor; #else @@ -150,22 +166,6 @@ extern Window fl_window; #endif // FL_LIBRARY || FL_INTERNALS -#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_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 - typedef CGImageRef Fl_Bitmask; extern CGContextRef fl_gc; |
