summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
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.