summaryrefslogtreecommitdiff
path: root/prefsize_darwin.m
diff options
context:
space:
mode:
Diffstat (limited to 'prefsize_darwin.m')
-rw-r--r--prefsize_darwin.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/prefsize_darwin.m b/prefsize_darwin.m
index 34a0dcd..521b767 100644
--- a/prefsize_darwin.m
+++ b/prefsize_darwin.m
@@ -6,10 +6,12 @@
// see delegateuitask_darwin.m
// in this case, NSScrollView.h, NSTableView.h, AND NSProgressIndicator.h all include NSApplication.h
+#ifdef MAC_OS_X_VERSION_10_7
#undef MAC_OS_X_VERSION_MIN_REQUIRED
#undef MAC_OS_X_VERSION_MAX_ALLOWED
#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_7
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_7
+#endif
#import <AppKit/NSApplication.h>
#undef MAC_OS_X_VERSION_MIN_REQUIRED
#undef MAC_OS_X_VERSION_MAX_ALLOWED