summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-12 09:40:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-12 09:40:33 (GMT)
commit657084d02ca6e4c669c19845645b72153bbea92d (patch)
tree0ddd2f665a59d34c8dec318ca3cf7676353449e0 /unix/tkUnixPort.h
parente27b92f00b4a5dbee54f2bb670e7d51c3b882526 (diff)
downloadtk-657084d02ca6e4c669c19845645b72153bbea92d.zip
tk-657084d02ca6e4c669c19845645b72153bbea92d.tar.gz
tk-657084d02ca6e4c669c19845645b72153bbea92d.tar.bz2
On Cygwin, don't duplicate TkPutImage definition in tkUnixPort.h, in stead bring it in though tkIntXlibDecls.h
Diffstat (limited to 'unix/tkUnixPort.h')
-rw-r--r--unix/tkUnixPort.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index 6e7a701..d122c8c 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -129,6 +129,7 @@
#endif
#ifdef __CYGWIN__
+# include "tkIntXlibDecls.h"
# define UINT unsigned int
# define HWND void *
# define HDC void *
@@ -142,9 +143,6 @@
# define LPARAM void *
# define LRESULT void *
- extern int TkPutImage(unsigned long *, int, Display *, Drawable,
- GC, XImage *, int, int, int, int, unsigned int, unsigned int);
-
#else /* !__CYGWIN__ */
/*
* The TkPutImage macro strips off the color table information, which isn't