sunpro c defines __SUNPRO_C not __SUNPRO_CC
CC is the c++ compiler; C is the c compiler. use the correct define
This commit is contained in:

committed by
Jeffrey Altman

parent
1da17c2f22
commit
39b78ad6ce
@@ -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"
|
||||
|
Reference in New Issue
Block a user