Another try at fixing multiple-defintion of NullPool
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 12 Feb 2018 02:24:22 +0000 (18:24 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 12 Feb 2018 02:24:22 +0000 (18:24 -0800)
This one might do it...

src/hb-open-type-private.hh

index e5bea33..5263d6f 100644 (file)
@@ -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 <typename Type>