summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-09 21:16:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-09 21:16:51 (GMT)
commit7da887fc2b6f0c7e19b48fbb6b464b35d31aad24 (patch)
treed6505398089f107ca8ff642724395774c019ac1e /unix/tkUnixPort.h
parent588dfc9419dadcedfef8b975a7d0179924a8996c (diff)
parent4ee227410ecad38323de7b712664466afd06aab0 (diff)
downloadtk-7da887fc2b6f0c7e19b48fbb6b464b35d31aad24.zip
tk-7da887fc2b6f0c7e19b48fbb6b464b35d31aad24.tar.gz
tk-7da887fc2b6f0c7e19b48fbb6b464b35d31aad24.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.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index a70af48..76199a0 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -137,6 +137,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.