diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-24 21:15:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-24 21:15:46 (GMT) |
commit | 9ea605f06bdde8beed71761774f09a632d2fb100 (patch) | |
tree | 209933d2accf8feb64d481f548a0029cae195009 /generic/tkStubInit.c | |
parent | 4b5b028a16729b1caae6ec89ee2e8673958ad127 (diff) | |
parent | 370613fce55f62665cc953a771c99b4e46f06c76 (diff) | |
download | tk-9ea605f06bdde8beed71761774f09a632d2fb100.zip tk-9ea605f06bdde8beed71761774f09a632d2fb100.tar.gz tk-9ea605f06bdde8beed71761774f09a632d2fb100.tar.bz2 |
Change XSetCommand signature to match Xorg, needed for Cygwin
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r-- | generic/tkStubInit.c | 10 |
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 */ |