Make the code able to compile with MSVC++ from Visual Studio 2015 (Version 14.0.25431.01, Update 3) sucessfully again.
This commit is contained in:
parent
b36f1510ec
commit
7143c8333b
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright © 2018 Google, Inc.
|
||||
* Copyright © 2018 Google, Inc.
|
||||
*
|
||||
* This is part of HarfBuzz, a text shaping library.
|
||||
*
|
||||
|
@ -42,8 +42,7 @@ struct hb_subset_input_t
|
|||
{
|
||||
hb_object_header_t header;
|
||||
|
||||
union {
|
||||
struct {
|
||||
struct sets_t {
|
||||
hb_set_t *glyphs;
|
||||
hb_set_t *unicodes;
|
||||
hb_set_t *no_subset_tables;
|
||||
|
@ -51,8 +50,11 @@ struct hb_subset_input_t
|
|||
hb_set_t *name_ids;
|
||||
hb_set_t *name_languages;
|
||||
hb_set_t *layout_features;
|
||||
} sets;
|
||||
hb_set_t* set_ptrs[sizeof (sets) / sizeof (hb_set_t*)];
|
||||
};
|
||||
|
||||
union {
|
||||
sets_t sets;
|
||||
hb_set_t* set_ptrs[sizeof (sets_t) / sizeof (hb_set_t*)];
|
||||
};
|
||||
|
||||
unsigned flags;
|
||||
|
|
Loading…
Reference in New Issue