diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-05-31 04:53:04 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-05-31 04:53:04 (GMT) |
commit | 9196ab07c75ee2b5275003d561e962dbc70e7248 (patch) | |
tree | 0d86ddd173e57154f68d6c3505b9ceaa39a54676 /generic/tkStubInit.c | |
parent | 182d23c96cd3ddebc716825d84e9ac12003dc440 (diff) | |
parent | 171f9bb65d102fe4110b445c82235472acd60fa1 (diff) | |
download | tk-9196ab07c75ee2b5275003d561e962dbc70e7248.zip tk-9196ab07c75ee2b5275003d561e962dbc70e7248.tar.gz tk-9196ab07c75ee2b5275003d561e962dbc70e7248.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.c | 4 |
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; |