Fix Windows build
(And prevent it from happening in the future.)
This commit is contained in:
parent
e35a763c07
commit
ec86cc5e55
|
@ -35,6 +35,7 @@
|
||||||
#include "hb-ot-layout-gsub-table.hh"
|
#include "hb-ot-layout-gsub-table.hh"
|
||||||
#include "hb-ot-layout-gpos-table.hh"
|
#include "hb-ot-layout-gpos-table.hh"
|
||||||
#include "hb-ot-layout-jstf-table.hh" // Just so we compile it; unused otherwise.
|
#include "hb-ot-layout-jstf-table.hh" // Just so we compile it; unused otherwise.
|
||||||
|
#include "hb-ot-name-table.hh" // Just so we compile it; unused otherwise.
|
||||||
|
|
||||||
#include "hb-ot-map-private.hh"
|
#include "hb-ot-map-private.hh"
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,10 @@ namespace OT {
|
||||||
|
|
||||||
struct NameRecord
|
struct NameRecord
|
||||||
{
|
{
|
||||||
static int cmp (const NameRecord *a, const NameRecord *b)
|
static int cmp (const void *pa, const void *pb)
|
||||||
{
|
{
|
||||||
|
const NameRecord *a = (const NameRecord *) pa;
|
||||||
|
const NameRecord *b = (const NameRecord *) pb;
|
||||||
int ret;
|
int ret;
|
||||||
ret = b->platformID.cmp (a->platformID);
|
ret = b->platformID.cmp (a->platformID);
|
||||||
if (ret) return ret;
|
if (ret) return ret;
|
||||||
|
|
Loading…
Reference in New Issue