From 79597d5c6559d19e4d163e8641d407a9a8892cc0 Mon Sep 17 00:00:00 2001 From: mdejong Date: Fri, 5 Mar 2004 07:32:53 +0000 Subject: * win/tkWin32Dll.c: Add variables needed when compiling with mem debug under Mingw. This fixes the checking from 2003-12-25. --- ChangeLog | 6 ++++++ win/tkWin32Dll.c | 11 ++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 76b0dd6..c3c9fd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-03-04 Mo DeJong + + * win/tkWin32Dll.c: Add variables needed when + compiling with mem debug under Mingw. This + fixes the checking from 2003-12-25. + 2004-03-03 Jeff Hobbs *** 8.5a1 TAGGED FOR RELEASE *** diff --git a/win/tkWin32Dll.c b/win/tkWin32Dll.c index e02b5ea..cec133a 100644 --- a/win/tkWin32Dll.c +++ b/win/tkWin32Dll.c @@ -8,12 +8,21 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWin32Dll.c,v 1.8 2003/12/26 04:14:38 mdejong Exp $ + * RCS: @(#) $Id: tkWin32Dll.c,v 1.9 2004/03/05 07:32:54 mdejong Exp $ */ #include "tkWinInt.h" #ifndef STATIC_BUILD +#if defined(HAVE_NO_SEH) && defined(TCL_MEM_DEBUG) +static void *INITIAL_ESP, + *INITIAL_EBP, + *INITIAL_HANDLER, + *RESTORED_ESP, + *RESTORED_EBP, + *RESTORED_HANDLER; +#endif /* HAVE_NO_SEH && TCL_MEM_DEBUG */ + /* * The following declaration is for the VC++ DLL entry point. */ -- cgit v0.12