From ba8b56960733b25bbb88fbdb60e7e244127d6e0c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 17 Oct 2017 11:16:36 -0700 Subject: [PATCH] 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] --- src/hb-set-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-set-private.hh b/src/hb-set-private.hh index be0a90d7f..689766c13 100644 --- a/src/hb-set-private.hh +++ b/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_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_assert (PAGE_BITS == BITS, "");