Hide internal functions with SunPro.
* include/freetype/internal/compiler-macros.h (FT_INTERNAL_FUNCTION_ATTRIBUTE) <__SUNPRO_C>: Define as __hidden.
This commit is contained in:
parent
3273521f40
commit
f76f7fdecd
|
@ -1,3 +1,10 @@
|
|||
2020-07-28 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
Hide internal functions with SunPro.
|
||||
|
||||
* include/freetype/internal/compiler-macros.h
|
||||
(FT_INTERNAL_FUNCTION_ATTRIBUTE) <__SUNPRO_C>: Define as __hidden.
|
||||
|
||||
2020-07-28 Anuj Verma <anujv@iitbhilai.ac.in>
|
||||
|
||||
Fix static compilation with Visual C.
|
||||
|
|
|
@ -115,6 +115,11 @@ FT_BEGIN_HEADER
|
|||
#define FT_INTERNAL_FUNCTION_ATTRIBUTE \
|
||||
__attribute__(( visibility( "hidden" ) ))
|
||||
|
||||
/* Sun */
|
||||
#elif defined( __SUNPRO_C ) && __SUNPRO_C >= 0x550
|
||||
#define FT_INTERNAL_FUNCTION_ATTRIBUTE __hidden
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define FT_INTERNAL_FUNCTION_ATTRIBUTE /* empty */
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue