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)
commit48e69401388f72f0f498d0d8b385a1c2e79a525b (patch)
tree63b8fdc7afe118370cb64a5c408bcbc87370a8fc /generic/tkStubInit.c
parent2ed891029e937fcaaa990c144f970818a0bcb410 (diff)
downloadtk-48e69401388f72f0f498d0d8b385a1c2e79a525b.zip
tk-48e69401388f72f0f498d0d8b385a1c2e79a525b.tar.gz
tk-48e69401388f72f0f498d0d8b385a1c2e79a525b.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 */