diff options
author | nijtmans <nijtmans> | 2010-11-19 20:34:46 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-11-19 20:34:46 (GMT) |
commit | 0142fdb760e82fc6fb38add2a16f9b5c8f110664 (patch) | |
tree | b3e54eb437f32b635f7ebeace3b119ae57563405 /win/tclWin32Dll.c | |
parent | f467ab59161c0d4f3ff72bdcbc456d2a12af3878 (diff) | |
download | tcl-0142fdb760e82fc6fb38add2a16f9b5c8f110664.zip tcl-0142fdb760e82fc6fb38add2a16f9b5c8f110664.tar.gz tcl-0142fdb760e82fc6fb38add2a16f9b5c8f110664.tar.bz2 |
fix gcc warnings: unused variable 'registration'
Diffstat (limited to 'win/tclWin32Dll.c')
-rw-r--r-- | win/tclWin32Dll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c index 75fe3eb..dd48003 100644 --- a/win/tclWin32Dll.c +++ b/win/tclWin32Dll.c @@ -10,7 +10,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.54.2.3 2010/09/08 15:42:13 dgp Exp $ + * RCS: @(#) $Id: tclWin32Dll.c,v 1.54.2.4 2010/11/19 20:34:47 nijtmans Exp $ */ #include "tclWinInt.h" @@ -303,7 +303,7 @@ DllMain( DWORD reason, /* Reason this function is being called. */ LPVOID reserved) /* Not used. */ { -#ifdef HAVE_NO_SEH +#if defined(HAVE_NO_SEH) && !defined(_WIN64) EXCEPTION_REGISTRATION registration; #endif @@ -1054,7 +1054,7 @@ TclWinCPUID( unsigned int index, /* Which CPUID value to retrieve. */ unsigned int *regsPtr) /* Registers after the CPUID. */ { -#ifdef HAVE_NO_SEH +#if defined(__GNUC__) && !defined(_WIN64) EXCEPTION_REGISTRATION registration; #endif int status = TCL_ERROR; |