summaryrefslogtreecommitdiffstats
path: root/win/tclWin32Dll.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-11-19 20:47:09 (GMT)
committernijtmans <nijtmans>2010-11-19 20:47:09 (GMT)
commitd86dbadf3d8cd8f55512e4a6132e57af844ea142 (patch)
tree738de98136f32d38d178924dafe0e707dec673bf /win/tclWin32Dll.c
parent6c6dc92ee5bcd102d4baf1a4fefcf27d18871b22 (diff)
downloadtcl-d86dbadf3d8cd8f55512e4a6132e57af844ea142.zip
tcl-d86dbadf3d8cd8f55512e4a6132e57af844ea142.tar.gz
tcl-d86dbadf3d8cd8f55512e4a6132e57af844ea142.tar.bz2
fix gcc warnings: unused variable 'registration'
Diffstat (limited to 'win/tclWin32Dll.c')
-rw-r--r--win/tclWin32Dll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c
index 98cfa85..ce8293d 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.70 2010/11/04 21:48:23 nijtmans Exp $
+ * RCS: @(#) $Id: tclWin32Dll.c,v 1.71 2010/11/19 20:47:09 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -718,7 +718,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;