summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-09 20:54:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-09 20:54:06 (GMT)
commit4ee227410ecad38323de7b712664466afd06aab0 (patch)
treec962fe9a9b2f82987484db26fff4f290b40d123e /unix
parent89dda440e266b894bf853efa4fedcad7f19befa5 (diff)
downloadtk-4ee227410ecad38323de7b712664466afd06aab0.zip
tk-4ee227410ecad38323de7b712664466afd06aab0.tar.gz
tk-4ee227410ecad38323de7b712664466afd06aab0.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')
-rw-r--r--unix/tkUnixPort.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index 8445c82..f0affb8 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -150,6 +150,21 @@
XPutImage(display, pixels, gc, image, destx, desty, srcx, \
srcy, 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.