Tk Source Code

Check-in [59d5f0cb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:merge-mark
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA1: 59d5f0cb573621a42b098754f41b8abf74d5ba14
User & Date: jan.nijtmans 2011-03-11 23:48:05
Context
2011-03-12
00:03
Eliminate unneeded _TkFinalize wrapper. check-in: 7bdee82d user: jan.nijtmans tags: core-8-5-branch
2011-03-11
23:48
merge-mark check-in: 59d5f0cb user: jan.nijtmans tags: core-8-5-branch
23:47
SEH-emulation for AMD64 mingw-w64 does not accept _WIN32_IE < 0x0501 Merged --cherrypick from core-8-5-branch (2010-12-13, f4ecadb40d) remove conflicting definition of timezone struct check-in: 5b16e78f user: jan.nijtmans tags: core-8-4-branch
15:01
merge-mark check-in: b078bfa9 user: jan.nijtmans tags: core-8-5-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to win/tkWin32Dll.c.

93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
 *	This might call some synchronization functions, but MSDN documentation
 *	states: "Waiting on synchronization objects in DllMain can cause a
 *	deadlock."
 *
 *----------------------------------------------------------------------
 */

#if defined(HAVE_NO_SEH) && defined(_WIN64)
/* A little trick to make the assembler code below
 * compile on Win64 with gcc: It appears that Win64
 * does not decorate compiled functions with "_"
 */
static void _TkFinalize(ClientData clientData) __attribute__((used));
static void _TkFinalize(ClientData clientData) {TkFinalize(clientData);}
#endif

BOOL APIENTRY
DllMain(
    HINSTANCE hInstance,
    DWORD reason,
    LPVOID reserved)
{
#ifdef HAVE_NO_SEH







<
<
<
<
<
<
<
<
<







93
94
95
96
97
98
99









100
101
102
103
104
105
106
 *	This might call some synchronization functions, but MSDN documentation
 *	states: "Waiting on synchronization objects in DllMain can cause a
 *	deadlock."
 *
 *----------------------------------------------------------------------
 */










BOOL APIENTRY
DllMain(
    HINSTANCE hInstance,
    DWORD reason,
    LPVOID reserved)
{
#ifdef HAVE_NO_SEH