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)
commit4b5b028a16729b1caae6ec89ee2e8673958ad127 (patch)
tree3226d16f16893c081407f46d5428da95599d1df2 /unix/tkUnixPort.h
parentb317b739f41dd05be8906136063570dbf7ee22e2 (diff)
parent913d6ee2384383a5daf690cb22dfa4348e7ea664 (diff)
downloadtk-4b5b028a16729b1caae6ec89ee2e8673958ad127.zip
tk-4b5b028a16729b1caae6ec89ee2e8673958ad127.tar.gz
tk-4b5b028a16729b1caae6ec89ee2e8673958ad127.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