summaryrefslogtreecommitdiffstats
path: root/win/tclWin32Dll.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-11 23:08:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-11 23:08:51 (GMT)
commit302d9a5dcd0c64b50f4294ae4ed5330011e178df (patch)
treeb4ec742e82ee571d2e3269fc09b76578ebb7e6f6 /win/tclWin32Dll.c
parent426e4bab66ab93c2702775548dc36d5cda326a17 (diff)
downloadtcl-302d9a5dcd0c64b50f4294ae4ed5330011e178df.zip
tcl-302d9a5dcd0c64b50f4294ae4ed5330011e178df.tar.gz
tcl-302d9a5dcd0c64b50f4294ae4ed5330011e178df.tar.bz2
ifdef protections to permit builds with mingw on amd64 systems.
Thanks to "mescalinum" for reporting and testing. Merged --cherrypick from Tcl8.5 (2010-09-08,48191d3979)
Diffstat (limited to 'win/tclWin32Dll.c')
-rw-r--r--win/tclWin32Dll.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c
index 0290bfb..4bfd046 100644
--- a/win/tclWin32Dll.c
+++ b/win/tclWin32Dll.c
@@ -542,6 +542,12 @@ TclpCheckStackSpace()
*/
#ifdef HAVE_NO_SEH
+# ifdef __WIN64__
+
+ /* TODO: How to call allocal on Win64? */
+ retval = 1;
+
+# else
__asm__ __volatile__ (
/*
@@ -611,6 +617,7 @@ TclpCheckStackSpace()
);
retval = (registration.status == TCL_OK);
+# endif
#else /* !HAVE_NO_SEH */
__try {
#ifdef HAVE_ALLOCA_GCC_INLINE