summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-12-03 15:40:00 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-12-03 16:04:32 -0500
commitf8e854fef6b89e5ece7cede9299bfb2750f34780 (patch)
treeb008bdcf36640e38915e987a9c7a1c7c6a471030 /src/bindings
parentef5b1909ccdd50d566264682bd2cb43ada706fed (diff)
Work around a swig segfault issue when building on Mac OS
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/swig.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bindings/swig.h b/src/bindings/swig.h
index 94ad91dc6..2fa6ba4f0 100644
--- a/src/bindings/swig.h
+++ b/src/bindings/swig.h
@@ -26,7 +26,11 @@
#endif /* SWIG_VERSION */
%import "cvc4_public.h"
-%import "util/tls.h"
+#warning Working around a SWIG segfault in C++ template parsing.
+//%import "util/tls.h"
+#define CVC4_THREADLOCAL(__type...) __type
+#define CVC4_THREADLOCAL_PUBLIC(__type...) CVC4_PUBLIC __type
+#define CVC4_THREADLOCAL_TYPE(__type...) __type
// swig doesn't like the __thread storage class...
#define __thread
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback