summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-16 04:43:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-16 04:43:33 (GMT)
commitc29a2d58d9c3de29bcd7e88011aea2b9c1bcd92e (patch)
tree3226d16f16893c081407f46d5428da95599d1df2 /unix/tkUnixPort.h
parent20eb2bdf3b3b8c32a82eded717c2383cf1746e46 (diff)
parent524f59a75aab742a5ce54b6497bec8e3bda8dced (diff)
downloadtk-c29a2d58d9c3de29bcd7e88011aea2b9c1bcd92e.zip
tk-c29a2d58d9c3de29bcd7e88011aea2b9c1bcd92e.tar.gz
tk-c29a2d58d9c3de29bcd7e88011aea2b9c1bcd92e.tar.bz2
implement TkSetPixmapColormap and TkpPrintWindowId for cygwin
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