summaryrefslogtreecommitdiffstats
path: root/generic/tkStubInit.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-05-29 13:29:51 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-05-29 13:29:51 (GMT)
commitc9b81d88741dc175b61b47fd0086e96ad479dcb5 (patch)
tree63b8fdc7afe118370cb64a5c408bcbc87370a8fc /generic/tkStubInit.c
parentb4af65b9b3806189bdeb7f8abea1a1490fff67c4 (diff)
downloadtk-c9b81d88741dc175b61b47fd0086e96ad479dcb5.zip
tk-c9b81d88741dc175b61b47fd0086e96ad479dcb5.tar.gz
tk-c9b81d88741dc175b61b47fd0086e96ad479dcb5.tar.bz2
Unbreak the OSX build
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r--generic/tkStubInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c
index 6ba0bda..66b1b80 100644
--- a/generic/tkStubInit.c
+++ b/generic/tkStubInit.c
@@ -201,7 +201,7 @@ void TkSubtractRegion (TkRegion a, TkRegion b, TkRegion c)
# define TkWinGetPlatformTheme 0
# define TkWinChildProc 0
-#elif !defined(MAC_OSC_TK) /* UNIX */
+#elif !defined(MAC_OSX_TK) /* UNIX */
# undef TkClipBox
# undef TkCreateRegion
@@ -577,7 +577,7 @@ static const TkIntPlatStubs tkIntPlatStubs = {
static const TkIntXlibStubs tkIntXlibStubs = {
TCL_STUB_MAGIC,
0,
-#if defined(__WIN32__) /* WIN */
+#if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */
XSetDashes, /* 0 */
XGetModifierMapping, /* 1 */
XCreateImage, /* 2 */