summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-09-13 14:29:53 +0000
committerManolo Gouy <Manolo>2014-09-13 14:29:53 +0000
commit76418b352b44a489dcc05f114712892188af9fd7 (patch)
tree73d7272768a0d1514b60b5e4da1ec7b3beec7a28 /FL
parent6482acf15af45104a25d1bbec49bc51ea1f80d6c (diff)
Allow compilation with SDK 10.10 and use new API to discover os version at runtime.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10305 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/mac.H6
1 files changed, 6 insertions, 0 deletions
diff --git a/FL/mac.H b/FL/mac.H
index e5f7fdb0e..3fe7b571d 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -64,6 +64,12 @@ typedef CGContextRef Fl_Offscreen;
#ifndef MAC_OS_X_VERSION_10_8
#define MAC_OS_X_VERSION_10_8 1080
#endif
+#ifndef MAC_OS_X_VERSION_10_9
+#define MAC_OS_X_VERSION_10_9 1090
+#endif
+#ifndef MAC_OS_X_VERSION_10_10
+#define MAC_OS_X_VERSION_10_10 101000
+#endif
#ifdef __OBJC__
@class NSCursor;