diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-05-31 04:53:04 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-05-31 04:53:04 (GMT) |
commit | 526eaedd39d88dc3ade90046c6d93774a9a0f2bd (patch) | |
tree | 0d86ddd173e57154f68d6c3505b9ceaa39a54676 /generic/tkStubInit.c | |
parent | 1910784bb5ba439d148d347f2c5b7e5aaa228cae (diff) | |
parent | 45883b03bb745b8d91077c50a4dca33acb89e5ac (diff) | |
download | tk-526eaedd39d88dc3ade90046c6d93774a9a0f2bd.zip tk-526eaedd39d88dc3ade90046c6d93774a9a0f2bd.tar.gz tk-526eaedd39d88dc3ade90046c6d93774a9a0f2bd.tar.bz2 |
Simpify determination whether we are running on cygwin.
Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll
FossilOrigin-Name: 0609e38ba4a130e4fb15b794198e174088027e6a
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; |