diff --git a/src/hb-private.hh b/src/hb-private.hh index a516624a80da8e8f2710aefc3a53c13aef5bfe5f..dc0178ddca5ba69e25f65fb5d33f6fea1c6e0fd1 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -120,7 +120,7 @@ extern "C" void hb_free_impl(void *ptr); #endif #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"))) # else # define HB_INTERNAL