summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-30 04:34:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-30 04:34:50 (GMT)
commit91ae12c773a03fe4533d19a6d115deb6a4c95351 (patch)
tree7248ac19414918cc38c6d14a602c4ba094ef3e83 /generic/tkTextDisp.c
parent3f9d8f314ffa4e803d29993d3b1248b6c733b2c5 (diff)
parent29067ec103d779feffa6d5dea099666cc2785b76 (diff)
downloadtk-91ae12c773a03fe4533d19a6d115deb6a4c95351.zip
tk-91ae12c773a03fe4533d19a6d115deb6a4c95351.tar.gz
tk-91ae12c773a03fe4533d19a6d115deb6a4c95351.tar.bz2
Simpify determination whether we are running on cygwin.
Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll.
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r--generic/tkTextDisp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 7891a2c..2516e1c 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -18,6 +18,8 @@
#ifdef __WIN32__
#include "tkWinInt.h"
+#elif defined(__CYGWIN__)
+#include "tkUnixInt.h"
#endif
#ifdef MAC_OSX_TK