diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-09 21:30:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-09 21:30:17 (GMT) |
commit | 2ef1eadbc983ba136d631cf4ac449b130d4af086 (patch) | |
tree | 910f808d33b01cb133375f4d3021107f0fc845dc /unix/tkUnixPort.h | |
parent | 53373c6c9768f992a833a1bbf8072d067b7fbeb7 (diff) | |
parent | b8eda54106d7b5b5ce5320ba63f125eb390cdb40 (diff) | |
download | tk-2ef1eadbc983ba136d631cf4ac449b130d4af086.zip tk-2ef1eadbc983ba136d631cf4ac449b130d4af086.tar.gz tk-2ef1eadbc983ba136d631cf4ac449b130d4af086.tar.bz2 |
Change TkpWmSetState signature to match UNIX, needed for Cygwin
Don't check for cygwin in win32 static build
Some more useful #defines for Cygwin
Diffstat (limited to 'unix/tkUnixPort.h')
-rw-r--r-- | unix/tkUnixPort.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h index 0076e5d..601ef57 100644 --- a/unix/tkUnixPort.h +++ b/unix/tkUnixPort.h @@ -122,6 +122,21 @@ XPutImage(display, pixels, gc, image, srcx, srcy, destx, \ desty, width, height); +#ifdef __CYGWIN__ +# define UINT unsigned int +# define HWND void * +# define HDC void * +# define HINSTANCE void * +# define COLORREF void * +# define HMENU void * +# define TkWinDCState void +# define HPALETTE void * +# define WNDPROC void * +# define WPARAM void * +# define LPARAM void * +# define LRESULT void * +#endif + /* * Supply macros for seek offsets, if they're not already provided by * an include file. |