Try fixing build on VC

c:\projects\harfbuzz\src\hb-set-private.hh(151): error C2327: 'hb_set_t::page_t::v': is not a type name, static, or enumerator [C:\projects\harfbuzz\build\harfbuzz.vcxproj]
pull/572/head
Behdad Esfahbod 7 years ago
parent 80cc0a7e3e
commit ba8b569607
  1. 2
      src/hb-set-private.hh

@ -148,7 +148,7 @@ struct hb_set_t
static const unsigned int ELT_BITS = sizeof (elt_t) * 8; static const unsigned int ELT_BITS = sizeof (elt_t) * 8;
static const unsigned int ELT_MASK = ELT_BITS - 1; static const unsigned int ELT_MASK = ELT_BITS - 1;
static const unsigned int BITS = sizeof (v) * 8; static const unsigned int BITS = sizeof (vector_t) * 8;
static const unsigned int MASK = BITS - 1; static const unsigned int MASK = BITS - 1;
static_assert (PAGE_BITS == BITS, ""); static_assert (PAGE_BITS == BITS, "");

Loading…
Cancel
Save