diff options
Diffstat (limited to 'libcilkrts/include/cilk/common.h')
-rw-r--r-- | libcilkrts/include/cilk/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcilkrts/include/cilk/common.h b/libcilkrts/include/cilk/common.h index 8ec19afa922..d2c84fa95a2 100644 --- a/libcilkrts/include/cilk/common.h +++ b/libcilkrts/include/cilk/common.h @@ -101,7 +101,7 @@ namespace cilk { # define CILK_EXPORT /* nothing */ # define CILK_EXPORT_DATA /* nothing */ #else /* Unix/gcc */ -# ifdef IN_CILK_RUNTIME +# if defined(IN_CILK_RUNTIME) && defined(HAVE_ATTRIBUTE_VISIBILITY) # define CILK_EXPORT __attribute__((visibility("protected"))) # define CILK_EXPORT_DATA __attribute__((visibility("protected"))) # else |