summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-06-05 04:46:39 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-06-05 04:46:39 (GMT)
commit01005ac615a6454ce1868948bf3757b1b45548c5 (patch)
tree4b1b6848a2a8f1b3f66d319e784c6d08ddc042ab /unix/tkUnixPort.h
parente93ba7872437b93eb96a97a853fd9d6d75690756 (diff)
parent4f18880eb6e1e3e3026f40b7a5ed081b3632e2a7 (diff)
downloadtk-01005ac615a6454ce1868948bf3757b1b45548c5.zip
tk-01005ac615a6454ce1868948bf3757b1b45548c5.tar.gz
tk-01005ac615a6454ce1868948bf3757b1b45548c5.tar.bz2
Change XSetDashes signature and many others to match Xorg, needed for Cygwin
Diffstat (limited to 'unix/tkUnixPort.h')
-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.