summaryrefslogtreecommitdiffstats
path: root/generic/tkStubInit.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r--generic/tkStubInit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c
index 658909e..00052f2 100644
--- a/generic/tkStubInit.c
+++ b/generic/tkStubInit.c
@@ -59,12 +59,14 @@ static const TkIntStubs tkIntStubs;
* the stub table, call TkParseColor in stead. See bug #3486474 */
# define XParseColor TkParseColor
-# if !defined(MAC_TCL) && !defined(MAC_OSX_TCL)
+# ifndef __CYGWIN__
# define Tk_AttachHWND 0
# define Tk_GetHWND 0
# define Tk_HWNDToWindow 0
# define Tk_PointerEvent 0
# define Tk_TranslateWinEvent 0
+# endif
+# if !defined(MAC_TCL) && !defined(MAC_OSX_TCL)
# define TkClipBox (void (*) (TkRegion, XRectangle *)) XClipBox
# define TkCreateRegion (TkRegion (*) ()) XCreateRegion
# define TkDestroyRegion (void (*) (TkRegion)) XDestroyRegion