diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-01 07:29:44 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-01 07:29:44 (GMT) |
commit | 2a27830810a7f6c83a6e606614f8dd5356a80ff4 (patch) | |
tree | 484ba0424611e0c71e26e80a7d5cd1ade9036fff /unix | |
parent | 220803efe89f370581240493cec2f67985a6bcbd (diff) | |
download | tk-2a27830810a7f6c83a6e606614f8dd5356a80ff4.zip tk-2a27830810a7f6c83a6e606614f8dd5356a80ff4.tar.gz tk-2a27830810a7f6c83a6e606614f8dd5356a80ff4.tar.bz2 |
unbreak Linux build
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixPort.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h index 93422cf..8118d95 100644 --- a/unix/tkUnixPort.h +++ b/unix/tkUnixPort.h @@ -126,6 +126,15 @@ # define WPARAM void * # define LPARAM void * # define LRESULT void * +#else +/* + * The TkPutImage macro strips off the color table information, which isn't + * needed for X. + */ + +#define TkPutImage(colors, ncolors, display, pixels, gc, image, srcx, srcy, destx, desty, width, height) \ + XPutImage(display, pixels, gc, image, srcx, srcy, destx, \ + desty, width, height); #endif /* |