summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXConstants.h
diff options
context:
space:
mode:
authorculler <culler>2018-10-29 13:22:12 (GMT)
committerculler <culler>2018-10-29 13:22:12 (GMT)
commit779ea84594b15e756513250c55c9395b89a6f7b8 (patch)
tree174da1cb0d5193626a2dd7a3b024dcd197467600 /macosx/tkMacOSXConstants.h
parenta2d3cbf84f7c94437da6df6e681495ac03b0218f (diff)
downloadtk-779ea84594b15e756513250c55c9395b89a6f7b8.zip
tk-779ea84594b15e756513250c55c9395b89a6f7b8.tar.gz
tk-779ea84594b15e756513250c55c9395b89a6f7b8.tar.bz2
Tweak a couple of #define constants for building on OSX 10.6.
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 3f0d306..b160083 100644
--- a/macosx/tkMacOSXConstants.h
+++ b/macosx/tkMacOSXConstants.h
@@ -15,6 +15,10 @@
#ifndef _TKMACCONSTANTS
#define _TKMACCONSTANTS
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
+#define NSFullScreenWindowMask (1 << 14)
+#endif
+
/*
* Let's raise a glass for the project manager who improves our lives by
* generating deprecation warnings about pointless changes of the names