summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-23 11:28:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-23 11:28:29 (GMT)
commit5074a34663a4856b5bb29a726570229b5206e2b9 (patch)
tree3e3542f0c2d9cc63bdb22e7fb753406a6c4eb665 /win/tclWinChan.c
parent32a3c1d6785ac6ea77008d9eca6c3a3ef4f4f733 (diff)
parentce2dc4a07d994704e8cbaed8b11fa7ceb05227a4 (diff)
downloadtcl-5074a34663a4856b5bb29a726570229b5206e2b9.zip
tcl-5074a34663a4856b5bb29a726570229b5206e2b9.tar.gz
tcl-5074a34663a4856b5bb29a726570229b5206e2b9.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 6989344..f5b324f 100644
--- a/win/tclWinChan.c
+++ b/win/tclWinChan.c
@@ -1068,7 +1068,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];
@@ -1121,7 +1121,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.
*/
@@ -1134,7 +1134,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