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 | 20ae5845bf5393c40ddd12145483e4c6af9ef77e (patch) | |
tree | 209933d2accf8feb64d481f548a0029cae195009 /generic/tkPlatDecls.h | |
parent | c29a2d58d9c3de29bcd7e88011aea2b9c1bcd92e (diff) | |
parent | c6f6c74ebb2092a8b0b4b2e5c805d22253d19e33 (diff) | |
download | tk-20ae5845bf5393c40ddd12145483e4c6af9ef77e.zip tk-20ae5845bf5393c40ddd12145483e4c6af9ef77e.tar.gz tk-20ae5845bf5393c40ddd12145483e4c6af9ef77e.tar.bz2 |
Change XSetCommand signature to match Xorg, needed for Cygwin
Diffstat (limited to 'generic/tkPlatDecls.h')
-rw-r--r-- | generic/tkPlatDecls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkPlatDecls.h b/generic/tkPlatDecls.h index 5b386ee..476fa4a 100644 --- a/generic/tkPlatDecls.h +++ b/generic/tkPlatDecls.h @@ -29,7 +29,7 @@ * Exported function declarations: */ -#ifdef __WIN32__ /* WIN */ +#if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */ #ifndef Tk_AttachHWND_TCL_DECLARED #define Tk_AttachHWND_TCL_DECLARED /* 0 */ @@ -131,7 +131,7 @@ typedef struct TkPlatStubs { int magic; struct TkPlatStubHooks *hooks; -#ifdef __WIN32__ /* WIN */ +#if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */ Window (*tk_AttachHWND) (Tk_Window tkwin, HWND hwnd); /* 0 */ HINSTANCE (*tk_GetHINSTANCE) (void); /* 1 */ HWND (*tk_GetHWND) (Window window); /* 2 */ @@ -168,7 +168,7 @@ extern TkPlatStubs *tkPlatStubsPtr; * Inline function declarations: */ -#ifdef __WIN32__ /* WIN */ +#if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */ #ifndef Tk_AttachHWND #define Tk_AttachHWND \ (tkPlatStubsPtr->tk_AttachHWND) /* 0 */ |