Add Sun compiler to no-visibility as well

Fixes https://github.com/harfbuzz/harfbuzz/pull/776
This commit is contained in:
Behdad Esfahbod 2018-02-11 18:28:10 -08:00
parent d33ba16361
commit 0db6c6f214

View File

@ -120,7 +120,7 @@ extern "C" void hb_free_impl(void *ptr);
#endif #endif
#ifndef HB_INTERNAL #ifndef HB_INTERNAL
# if !defined(HB_NO_VISIBILITY) && !defined(__MINGW32__) && !defined(__CYGWIN__) # if !defined(HB_NO_VISIBILITY) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__SUNPRO_CC)
# define HB_INTERNAL __attribute__((__visibility__("hidden"))) # define HB_INTERNAL __attribute__((__visibility__("hidden")))
# else # else
# define HB_INTERNAL # define HB_INTERNAL