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