diff options
author | kennykb <kennykb@noemail.net> | 2005-05-16 15:35:38 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2005-05-16 15:35:38 (GMT) |
commit | 49d135f5bad541799d9011da9677a123b8bfac7f (patch) | |
tree | f4a6689463df80c5de58b9969c11259f4c2c4745 /win | |
parent | d30d0cbbc841b930505f40dae3b34cc1622b7949 (diff) | |
download | tcl-49d135f5bad541799d9011da9677a123b8bfac7f.zip tcl-49d135f5bad541799d9011da9677a123b8bfac7f.tar.gz tcl-49d135f5bad541799d9011da9677a123b8bfac7f.tar.bz2 |
restore MSVC buildability of tclWin32Dll.c
FossilOrigin-Name: c022adcc3beaafdc580fcebb6cbd98c542d97ac4
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWin32Dll.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c index 25eb7b5..797cc53 100644 --- a/win/tclWin32Dll.c +++ b/win/tclWin32Dll.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWin32Dll.c,v 1.43 2005/05/14 20:46:48 das Exp $ + * RCS: @(#) $Id: tclWin32Dll.c,v 1.44 2005/05/16 15:35:41 kennykb Exp $ */ #include "tclWinInt.h" @@ -288,7 +288,9 @@ DllMain(hInst, reason, reserved) DWORD reason; /* Reason this function is being called. */ LPVOID reserved; /* Not used. */ { +#ifdef HAVE_NO_SEH EXCEPTION_REGISTRATION registration; +#endif switch (reason) { case DLL_PROCESS_ATTACH: @@ -526,7 +528,9 @@ int TclpCheckStackSpace() { +#ifdef HAVE_NO_SEH EXCEPTION_REGISTRATION registration; +#endif int retval = 0; /* @@ -1047,7 +1051,9 @@ TclWinCPUID( unsigned int index, /* Which CPUID value to retrieve */ unsigned int * regsPtr ) /* Registers after the CPUID */ { +#ifdef HAVE_NO_SEH EXCEPTION_REGISTRATION registration; +#endif int status = TCL_ERROR; #if defined(__GNUC__) && !defined(_WIN64) |