diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/tls.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/tls.h.in b/src/util/tls.h.in index e77d256dc..df53cae36 100644 --- a/src/util/tls.h.in +++ b/src/util/tls.h.in @@ -33,10 +33,12 @@ #if @CVC4_TLS_SUPPORTED@ # define CVC4_THREADLOCAL(__type...) @CVC4_TLS@ __type # define CVC4_THREADLOCAL_PUBLIC(__type...) @CVC4_TLS@ CVC4_PUBLIC __type +# define CVC4_THREADLOCAL_TYPE(__type...) __type #else # include <pthread.h> # define CVC4_THREADLOCAL(__type...) ::CVC4::ThreadLocal< __type > # define CVC4_THREADLOCAL_PUBLIC(__type...) CVC4_PUBLIC ::CVC4::ThreadLocal< __type > +# define CVC4_THREADLOCAL_TYPE(__type...) ::CVC4::ThreadLocal< __type > namespace CVC4 { |