summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-26 12:40:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-26 12:40:26 (GMT)
commit8cc7bce73e9997bd6f37cf9e35c4840be1912c8c (patch)
treebb0689f42b20ad1aa701085de9ec92cba439b381 /generic
parent45fa85f33f94e501ba96c550861e298df9a8a6ad (diff)
parent7ecd8e8c987bdd12afd8bb46586e17d913b78a3a (diff)
downloadtk-8cc7bce73e9997bd6f37cf9e35c4840be1912c8c.zip
tk-8cc7bce73e9997bd6f37cf9e35c4840be1912c8c.tar.gz
tk-8cc7bce73e9997bd6f37cf9e35c4840be1912c8c.tar.bz2
provide dummy Tk_AttachHWND and friends for OSX as well
Diffstat (limited to 'generic')
-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