diff options
Diffstat (limited to 'src/util/Assert.cpp')
-rw-r--r-- | src/util/Assert.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/Assert.cpp b/src/util/Assert.cpp index 7856b3da4..01c40aca2 100644 --- a/src/util/Assert.cpp +++ b/src/util/Assert.cpp @@ -22,13 +22,14 @@ #include "util/Assert.h" #include "util/exception.h" +#include "util/tls.h" using namespace std; namespace CVC4 { #ifdef CVC4_DEBUG -__thread CVC4_PUBLIC const char* s_debugLastException = NULL; +CVC4_PUBLIC CVC4_THREADLOCAL(const char*) s_debugLastException = NULL; #endif /* CVC4_DEBUG */ void AssertionException::construct(const char* header, const char* extra, |