diff options
| -rw-r--r-- | generic/tclClockFmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclClockFmt.c b/generic/tclClockFmt.c index abd55ab..4017d5f 100644 --- a/generic/tclClockFmt.c +++ b/generic/tclClockFmt.c @@ -113,7 +113,7 @@ Clock_str2wideInt_no( } /* int & Tcl_WideInt overflows may happens here (expected case) */ -#if defined(__GNUC__) || defined(__GNUG__) +#if (defined(__GNUC__) || defined(__GNUG__)) && !defined(__clang__) # pragma GCC optimize("no-trapv") #endif @@ -209,7 +209,7 @@ TclAtoWIe( return Clock_str2wideInt(out, p, e, sign); } -#if defined(__GNUC__) || defined(__GNUG__) +#if (defined(__GNUC__) || defined(__GNUG__)) && !defined(__clang__) # pragma GCC reset_options #endif |
