summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixPort.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index 4f530d2..8d8b050 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -141,7 +141,7 @@
# define WPARAM void *
# define LPARAM void *
# define LRESULT void *
-#endif
+#else /* !__CYGWIN__ */
/*
* The TkPutImage macro strips off the color table information, which isn't
* needed for X.
@@ -151,6 +151,8 @@
XPutImage(display, pixels, gc, image, srcx, srcy, destx, \
desty, width, height);
+#endif /* !__CYGWIN__ */
+
/*
* Supply macros for seek offsets, if they're not already provided by
* an include file.