Fix visibility on mingw32

Should fix bots again.
pull/1108/head
Behdad Esfahbod 6 years ago
parent 61eddbd8ef
commit 94759d4cf8
  1. 4
      src/hb-private.hh

@ -161,6 +161,10 @@ struct _hb_alignof
#ifndef HB_INTERNAL #ifndef HB_INTERNAL
# if !defined(HB_NO_VISIBILITY) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(_MSC_VER) && !defined(__SUNPRO_CC) # if !defined(HB_NO_VISIBILITY) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(_MSC_VER) && !defined(__SUNPRO_CC)
# define HB_INTERNAL __attribute__((__visibility__("hidden"))) # define HB_INTERNAL __attribute__((__visibility__("hidden")))
# elif defined(__MINGW32__)
/* We use -export-symbols on mingw32, since it does not support visibility
* attribute. */
# define HB_INTERNAL
#else #else
# define HB_INTERNAL # define HB_INTERNAL
# define HB_NO_VISIBILITY 1 # define HB_NO_VISIBILITY 1

Loading…
Cancel
Save