summaryrefslogtreecommitdiffstats
path: root/win/tkWin32Dll.c
diff options
context:
space:
mode:
authormdejong <mdejong>2004-03-05 07:32:53 (GMT)
committermdejong <mdejong>2004-03-05 07:32:53 (GMT)
commit79597d5c6559d19e4d163e8641d407a9a8892cc0 (patch)
tree093a952ffda4c9698e8785891c6ab9b32cb852b6 /win/tkWin32Dll.c
parent9d98cada6a48fb20eda77683f0f0b1a3679a67d3 (diff)
downloadtk-79597d5c6559d19e4d163e8641d407a9a8892cc0.zip
tk-79597d5c6559d19e4d163e8641d407a9a8892cc0.tar.gz
tk-79597d5c6559d19e4d163e8641d407a9a8892cc0.tar.bz2
* win/tkWin32Dll.c: Add variables needed when
compiling with mem debug under Mingw. This fixes the checking from 2003-12-25.
Diffstat (limited to 'win/tkWin32Dll.c')
-rw-r--r--win/tkWin32Dll.c11
1 files changed, 10 insertions, 1 deletions
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.
*/