summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXConstants.h
diff options
context:
space:
mode:
authorculler <culler>2020-05-16 17:56:24 (GMT)
committerculler <culler>2020-05-16 17:56:24 (GMT)
commit5b8151f29ca6b12d3421c026eae1a994e702f7b5 (patch)
treee838e2463d61a0ae09e2bd13df04b1b54cf575e5 /macosx/tkMacOSXConstants.h
parentdc8dcbced6e03edb40b76e2108e6a4ecf6ff37fd (diff)
downloadtk-5b8151f29ca6b12d3421c026eae1a994e702f7b5.zip
tk-5b8151f29ca6b12d3421c026eae1a994e702f7b5.tar.gz
tk-5b8151f29ca6b12d3421c026eae1a994e702f7b5.tar.bz2
Fix compiler errors and warnings on macOS 10.6 (Snow Leopard)
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