summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhoto.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-05-25 12:19:47 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-05-25 12:19:47 (GMT)
commit4b0887a92a4c3713e274b024df8b62f0d504927d (patch)
treec70ccc1c14fdf986ba8530e11b5a1a69b08de298 /generic/tkImgPhoto.c
parent897b49ab9d4dee6d1c2b452063477c6d79b0c181 (diff)
downloadtk-4b0887a92a4c3713e274b024df8b62f0d504927d.zip
tk-4b0887a92a4c3713e274b024df8b62f0d504927d.tar.gz
tk-4b0887a92a4c3713e274b024df8b62f0d504927d.tar.bz2
Simpify determination whether we are running on cygwin.
Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll. Fix "make genstubs" when cross-compiling on UNIX
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r--generic/tkImgPhoto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index ffbb47c..23db11a 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -25,6 +25,8 @@
#ifdef __WIN32__
#include "tkWinInt.h"
+#elif defined(__CYGWIN__)
+#include "tkUnixInt.h"
#endif
/*