提交 94759d4c 编写于 作者: B Behdad Esfahbod

Fix visibility on mingw32

Should fix bots again.
上级 61eddbd8
......@@ -161,7 +161,11 @@ struct _hb_alignof
#ifndef HB_INTERNAL
# if !defined(HB_NO_VISIBILITY) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(_MSC_VER) && !defined(__SUNPRO_CC)
# define HB_INTERNAL __attribute__((__visibility__("hidden")))
# else
# elif defined(__MINGW32__)
/* We use -export-symbols on mingw32, since it does not support visibility
* attribute. */
# define HB_INTERNAL
#else
# define HB_INTERNAL
# define HB_NO_VISIBILITY 1
# endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册