summaryrefslogtreecommitdiff
path: root/src/util/Assert.h
diff options
context:
space:
mode:
authorACSYS <cvc4-devel@cs.nyu.edu>2010-09-27 22:26:46 +0000
committerACSYS <cvc4-devel@cs.nyu.edu>2010-09-27 22:26:46 +0000
commit753a072c542c1c254d7c6adbf10e091ba585ede5 (patch)
tree5ab9157fe0d3f265f82a94f7f4e5940697b54ee5 /src/util/Assert.h
parent595751a1814cc9375318c9c158caf6426eeda791 (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.h3
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 */
/**
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback