Skip to content

Commit d98c3d3

Browse files
committed
Fix SunCC/ODS compile on CMake
1 parent c8d4c2e commit d98c3d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hb-private.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ extern "C" void hb_free_impl(void *ptr);
122122
#ifndef HB_INTERNAL
123123
# ifdef __SUNPRO_CC
124124
# define HB_INTERNAL __hidden
125+
# define HB_NO_VISIBILITY 1
125126
# elif !defined(__MINGW32__) && !defined(__CYGWIN__)
126127
# define HB_INTERNAL __attribute__((__visibility__("hidden")))
127128
# else

0 commit comments

Comments
 (0)