summaryrefslogtreecommitdiffstats
path: root/generic/tkStubInit.c
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2012-05-29 13:29:51 (GMT)
committerdkf <dkf@noemail.net>2012-05-29 13:29:51 (GMT)
commitc98e454f2d8794663694c34fb5e073e72bfb9ebb (patch)
tree63b8fdc7afe118370cb64a5c408bcbc87370a8fc /generic/tkStubInit.c
parent6937f38c9cb5b41b9c113b682aabc4b774dd3590 (diff)
downloadtk-c98e454f2d8794663694c34fb5e073e72bfb9ebb.zip
tk-c98e454f2d8794663694c34fb5e073e72bfb9ebb.tar.gz
tk-c98e454f2d8794663694c34fb5e073e72bfb9ebb.tar.bz2
Unbreak the OSX build
FossilOrigin-Name: 0a346c0fe57cb9648ced1c1caa810046dcb5515a
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 */