diff options
Diffstat (limited to 'src/util/Assert.cpp')
-rw-r--r-- | src/util/Assert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/Assert.cpp b/src/util/Assert.cpp index 01c40aca2..1435515ad 100644 --- a/src/util/Assert.cpp +++ b/src/util/Assert.cpp @@ -138,7 +138,7 @@ void AssertionException::construct(const char* header, const char* extra, */ void debugAssertionFailed(const AssertionException& thisException, const char* propagatingException) { - static __thread bool alreadyFired = false; + static CVC4_THREADLOCAL(bool) alreadyFired = false; if(EXPECT_TRUE( !std::uncaught_exception() ) || alreadyFired) { throw thisException; |