summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-05-09 21:16:51 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-05-09 21:16:51 (GMT)
commit0f7462c8e94f96886438198bd1fcf267b04a4b2a (patch)
treed6505398089f107ca8ff642724395774c019ac1e /unix/tkUnixPort.h
parenta40565361979d435ecaae1c36fe5ac6fa41544a8 (diff)
parentd5a8ecc90dc80be383cde27bd9e7b404e33f306f (diff)
downloadtk-0f7462c8e94f96886438198bd1fcf267b04a4b2a.zip
tk-0f7462c8e94f96886438198bd1fcf267b04a4b2a.tar.gz
tk-0f7462c8e94f96886438198bd1fcf267b04a4b2a.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.