summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXConstants.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/tkMacOSXConstants.h')
-rw-r--r--macosx/tkMacOSXConstants.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/macosx/tkMacOSXConstants.h b/macosx/tkMacOSXConstants.h
index 8ef535c..e019ea1 100644
--- a/macosx/tkMacOSXConstants.h
+++ b/macosx/tkMacOSXConstants.h
@@ -19,6 +19,10 @@
#define NSFullScreenWindowMask (1 << 14)
#endif
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 1090
+typedef NSInteger NSModalResponse;
+#endif
+
/*
* Let's raise a glass for the project manager who improves our lives by
* generating deprecation warnings about pointless changes of the names