summaryrefslogtreecommitdiffstats
path: root/generic/tkStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-24 21:15:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-24 21:15:46 (GMT)
commit20ae5845bf5393c40ddd12145483e4c6af9ef77e (patch)
tree209933d2accf8feb64d481f548a0029cae195009 /generic/tkStubInit.c
parentc29a2d58d9c3de29bcd7e88011aea2b9c1bcd92e (diff)
parentc6f6c74ebb2092a8b0b4b2e5c805d22253d19e33 (diff)
downloadtk-20ae5845bf5393c40ddd12145483e4c6af9ef77e.zip
tk-20ae5845bf5393c40ddd12145483e4c6af9ef77e.tar.gz
tk-20ae5845bf5393c40ddd12145483e4c6af9ef77e.tar.bz2
Change XSetCommand signature to match Xorg, needed for Cygwin
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r--generic/tkStubInit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c
index 63250c5..03c794e 100644
--- a/generic/tkStubInit.c
+++ b/generic/tkStubInit.c
@@ -321,7 +321,7 @@ TkIntStubs tkIntStubs = {
#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */
NULL, /* 121 */
#endif /* X11 */
-#ifdef __WIN32__ /* WIN */
+#if defined(__WIN32__) /* WIN */
NULL, /* 121 */
#endif /* WIN */
#ifdef MAC_OSX_TK /* AQUA */
@@ -331,7 +331,7 @@ TkIntStubs tkIntStubs = {
#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */
NULL, /* 122 */
#endif /* X11 */
-#ifdef __WIN32__ /* WIN */
+#if defined(__WIN32__) /* WIN */
NULL, /* 122 */
#endif /* WIN */
#ifdef MAC_OSX_TK /* AQUA */
@@ -342,7 +342,7 @@ TkIntStubs tkIntStubs = {
#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */
NULL, /* 124 */
#endif /* X11 */
-#ifdef __WIN32__ /* WIN */
+#if defined(__WIN32__) /* WIN */
NULL, /* 124 */
#endif /* WIN */
#ifdef MAC_OSX_TK /* AQUA */
@@ -538,7 +538,7 @@ TkIntPlatStubs tkIntPlatStubs = {
TkIntXlibStubs tkIntXlibStubs = {
TCL_STUB_MAGIC,
NULL,
-#ifdef __WIN32__ /* WIN */
+#if defined(__WIN32__) /* WIN */
XSetDashes, /* 0 */
XGetModifierMapping, /* 1 */
XCreateImage, /* 2 */
@@ -746,7 +746,7 @@ TkIntXlibStubs tkIntXlibStubs = {
TkPlatStubs tkPlatStubs = {
TCL_STUB_MAGIC,
NULL,
-#ifdef __WIN32__ /* WIN */
+#if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */
Tk_AttachHWND, /* 0 */
Tk_GetHINSTANCE, /* 1 */
Tk_GetHWND, /* 2 */