From 39b78ad6ce1890a05776c149df36a693f45e3922 Mon Sep 17 00:00:00 2001 From: Daria Phoebe Brashear Date: Wed, 18 Apr 2018 14:39:43 -0400 Subject: [PATCH] sunpro c defines __SUNPRO_C not __SUNPRO_CC CC is the c++ compiler; C is the c compiler. use the correct define --- include/heim_threads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/heim_threads.h b/include/heim_threads.h index c1ebbaca3..f337ac167 100644 --- a/include/heim_threads.h +++ b/include/heim_threads.h @@ -52,7 +52,7 @@ #else -#if defined(__clang__) || defined(__GNUC__) || defined(__SUNPRO_CC) +#if defined(__clang__) || defined(__GNUC__) || defined(__SUNPRO_C) #define HEIMDAL_THREAD_LOCAL __thread #else #error "thread-local attribute not defined for your compiler"