summaryrefslogtreecommitdiffstats
path: root/generic/tkStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-31 04:53:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-31 04:53:04 (GMT)
commita2b7afd83359a8b5149462e93b174ca5784d1e1a (patch)
tree0d86ddd173e57154f68d6c3505b9ceaa39a54676 /generic/tkStubInit.c
parentda68cb938e2bec4280883c4052906b9811aadf7c (diff)
parent91ae12c773a03fe4533d19a6d115deb6a4c95351 (diff)
downloadtk-a2b7afd83359a8b5149462e93b174ca5784d1e1a.zip
tk-a2b7afd83359a8b5149462e93b174ca5784d1e1a.tar.gz
tk-a2b7afd83359a8b5149462e93b174ca5784d1e1a.tar.bz2
Simpify determination whether we are running on cygwin.
Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r--generic/tkStubInit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c
index 34cf671..de5e00e 100644
--- a/generic/tkStubInit.c
+++ b/generic/tkStubInit.c
@@ -80,7 +80,9 @@ TkpSync(Display *display)
#define GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS 0x00000004
int __stdcall GetModuleHandleExW(unsigned int, const char *, void *);
-static void *Tk_GetHINSTANCE()
+TkIntStubs tkIntStubs;
+
+void *Tk_GetHINSTANCE()
{
void *hInstance = NULL;