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:
Daria Phoebe Brashear
2018-04-18 14:39:43 -04:00
committed by Jeffrey Altman
parent 1da17c2f22
commit 39b78ad6ce

View File

@@ -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"