summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-07-12 09:40:33 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-07-12 09:40:33 (GMT)
commit7a1056c8d49cf519a6f8ef3551b145d7a45175b2 (patch)
tree006e8eeffe01c4edc028f677e5d969db68633fc3 /unix
parentf1887056f763d99892301c65b771efd7b6eb373d (diff)
downloadtk-7a1056c8d49cf519a6f8ef3551b145d7a45175b2.zip
tk-7a1056c8d49cf519a6f8ef3551b145d7a45175b2.tar.gz
tk-7a1056c8d49cf519a6f8ef3551b145d7a45175b2.tar.bz2
On Cygwin, don't duplicate TkPutImage definition in tkUnixPort.h, in stead bring it in though tkIntXlibDecls.h
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in2
-rw-r--r--unix/tkUnixPort.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index b4f4e05..3fb3d29 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -530,7 +530,7 @@ AQUA_XLIB_HDRS = $(XLIB_DIR)/X11/*.h $(XLIB_DIR)/xbytes.h
AQUA_PRIVATE_HDRS = $(MAC_OSX_DIR)/tkMacOSXPort.h $(MAC_OSX_DIR)/tkMacOSXInt.h
-X11_PRIVATE_HDRS = $(UNIX_DIR)/tkUnixPort.h $(UNIX_DIR)/tkUnixInt.h
+X11_PRIVATE_HDRS = $(UNIX_DIR)/tkUnixPort.h $(UNIX_DIR)/tkUnixInt.h $(GENERIC_DIR)/tkIntXlibDecls.h
# Currently private, eventually public
TTK_HDRS = $(TTK_DIR)/ttkTheme.h $(TTK_DIR)/ttkDecls.h
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