summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 15:20:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 15:20:49 (GMT)
commit14b5289e4aa4945dd080d1d3d2dad7f54537eec8 (patch)
tree8f683aa0cbf8062ba81931b49f3731abbccd0a8f /win/tclWinChan.c
parentbb09dba8c07eb42beccc0249f53dc2ca25bb01ed (diff)
parent49a7184962b241204447d10cb9546f514237c344 (diff)
downloadtcl-14b5289e4aa4945dd080d1d3d2dad7f54537eec8.zip
tcl-14b5289e4aa4945dd080d1d3d2dad7f54537eec8.tar.gz
tcl-14b5289e4aa4945dd080d1d3d2dad7f54537eec8.tar.bz2
Merge 8.7
Diffstat (limited to 'win/tclWinChan.c')
-rw-r--r--win/tclWinChan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c
index ddd4feb..d8c734c 100644
--- a/win/tclWinChan.c
+++ b/win/tclWinChan.c
@@ -1073,7 +1073,7 @@ Tcl_MakeFileChannel(
int mode) /* ORed combination of TCL_READABLE and
* TCL_WRITABLE to indicate file mode. */
{
-#if defined(HAVE_NO_SEH) && !defined(_WIN64)
+#if defined(HAVE_NO_SEH) && !defined(_WIN64) && !defined(__clang__)
TCLEXCEPTION_REGISTRATION registration;
#endif
char channelName[16 + TCL_INTEGER_SPACE];
@@ -1126,7 +1126,7 @@ Tcl_MakeFileChannel(
if (result == 0) {
/*
- * Unable to make a duplicate. It's definately invalid at this
+ * Unable to make a duplicate. It's definitely invalid at this
* point.
*/
@@ -1139,7 +1139,7 @@ Tcl_MakeFileChannel(
*/
result = 0;
-#if defined(HAVE_NO_SEH) && !defined(_WIN64)
+#if defined(HAVE_NO_SEH) && !defined(_WIN64) && !defined(__clang__)
/*
* Don't have SEH available, do things the hard way. Note that this
* needs to be one block of asm, to avoid stack imbalance; also, it is