summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-05-16 04:43:33 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-05-16 04:43:33 (GMT)
commit5668666cb48b5738cf6cfb74b80ae1240f5ea191 (patch)
tree3226d16f16893c081407f46d5428da95599d1df2 /unix/tkUnixPort.h
parent704dfde80dd82532809511f107a82dfa326ffb88 (diff)
parent23b052e6e0e30539d958bd61e2f6a87dd3c2b982 (diff)
downloadtk-5668666cb48b5738cf6cfb74b80ae1240f5ea191.zip
tk-5668666cb48b5738cf6cfb74b80ae1240f5ea191.tar.gz
tk-5668666cb48b5738cf6cfb74b80ae1240f5ea191.tar.bz2
implement TkSetPixmapColormap and TkpPrintWindowId for cygwin
FossilOrigin-Name: bc99a26ca2589f456f2a8c793865835a3ed5552f
Diffstat (limited to 'unix/tkUnixPort.h')
-rw-r--r--unix/tkUnixPort.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index 76199a0..8318724 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -182,7 +182,9 @@
#define TkpButtonSetDefaults(specPtr) {}
#define TkpDestroyButton(butPtr) {}
#define TkSelUpdateClipboard(a,b) {}
+#ifndef __CYGWIN__
#define TkSetPixmapColormap(p,c) {}
+#endif
/*
* These calls implement native bitmaps which are not supported under
@@ -197,9 +199,10 @@
* This macro stores a representation of the window handle in a string.
* This should perhaps use the real size of an XID.
*/
-
+#ifndef __CYGWIN__
#define TkpPrintWindowId(buf,w) \
sprintf((buf), "%#08lx", (unsigned long) (w))
+#endif
/*
* The following declaration is used to get access to a private Tcl interface