summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-09 21:30:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-09 21:30:17 (GMT)
commit1781ae2223312ebc0d57a9861834a2be6904b53b (patch)
tree910f808d33b01cb133375f4d3021107f0fc845dc /unix/tkUnixPort.h
parent302dfe1be6830add9d1bd8b57b4bc6c00fc609b3 (diff)
parent7da887fc2b6f0c7e19b48fbb6b464b35d31aad24 (diff)
downloadtk-1781ae2223312ebc0d57a9861834a2be6904b53b.zip
tk-1781ae2223312ebc0d57a9861834a2be6904b53b.tar.gz
tk-1781ae2223312ebc0d57a9861834a2be6904b53b.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 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.