From 90d1c740c370b97dfff52420db013ed50075b984 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 11 Feb 2018 19:08:59 -0800 Subject: [PATCH] Add MSVC to no-visibility list --- src/hb-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-private.hh b/src/hb-private.hh index dc0178ddc..6430ba8e3 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__) && !defined(__SUNPRO_CC) +# if !defined(HB_NO_VISIBILITY) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(_MSC_VER) && !defined(__SUNPRO_CC) # define HB_INTERNAL __attribute__((__visibility__("hidden"))) # else # define HB_INTERNAL