From dde6448379c9eeb0fc7cc476688002be661229b8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 11 Feb 2018 18:24:22 -0800 Subject: [PATCH] Another try at fixing multiple-defintion of NullPool This one might do it... --- src/hb-open-type-private.hh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index e5bea33..5263d6f 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -140,7 +140,11 @@ static #else extern HB_INTERNAL #endif -const void * const _hb_NullPool[HB_NULL_POOL_SIZE / sizeof (void *)]; +const void * const _hb_NullPool[HB_NULL_POOL_SIZE / sizeof (void *)] +#ifdef HB_NO_VISIBILITY += {} +#endif +; /* Generic nul-content Null objects. */ template -- 2.7.4