summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-23 11:27:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-23 11:27:22 (GMT)
commitce2dc4a07d994704e8cbaed8b11fa7ceb05227a4 (patch)
tree3e3dac8e139b1e9d2517f3b0a5a436a13fdcf806 /win/tclWinChan.c
parent7b099b30d896e453d22235eaa05bacaf91faef29 (diff)
parent1e7fb752298e25373227b8641570188f3e09fcfe (diff)
downloadtcl-ce2dc4a07d994704e8cbaed8b11fa7ceb05227a4.zip
tcl-ce2dc4a07d994704e8cbaed8b11fa7ceb05227a4.tar.gz
tcl-ce2dc4a07d994704e8cbaed8b11fa7ceb05227a4.tar.bz2
Merge 8.6
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 d300269..b08db5d 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