diff options
author | ACSYS <cvc4-devel@cs.nyu.edu> | 2010-09-27 22:26:46 +0000 |
---|---|---|
committer | ACSYS <cvc4-devel@cs.nyu.edu> | 2010-09-27 22:26:46 +0000 |
commit | 753a072c542c1c254d7c6adbf10e091ba585ede5 (patch) | |
tree | 5ab9157fe0d3f265f82a94f7f4e5940697b54ee5 /src/util/Assert.h | |
parent | 595751a1814cc9375318c9c158caf6426eeda791 (diff) |
add workaround for systems (i.e., Mac OS X) that don't support __thread; also configure script auto-detection of __thread support and syntax
Diffstat (limited to 'src/util/Assert.h')
-rw-r--r-- | src/util/Assert.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/Assert.h b/src/util/Assert.h index 62375daff..65c067b7e 100644 --- a/src/util/Assert.h +++ b/src/util/Assert.h @@ -29,6 +29,7 @@ #include "util/exception.h" #include "util/output.h" +#include "util/tls.h" namespace CVC4 { @@ -199,7 +200,7 @@ public: #ifdef CVC4_DEBUG #ifdef CVC4_DEBUG -extern __thread CVC4_PUBLIC const char* s_debugLastException; +extern CVC4_THREADLOCAL_PUBLIC(const char*) s_debugLastException; #endif /* CVC4_DEBUG */ /** |