summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/mac.H32
1 files changed, 16 insertions, 16 deletions
diff --git a/FL/mac.H b/FL/mac.H
index 2bd340400..8ea1bb0ad 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -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;