Fix GSXML compatibility with libxml2 v2.11.0

Fixes #294.
This commit is contained in:
Frederik Seiffert 2023-05-03 13:49:09 +02:00 committed by Frederik Seiffert
parent a5a1ef0413
commit 37913d006d

View file

@ -2671,10 +2671,12 @@ getEntityDefault(void *ctx, const xmlChar *name, BOOL resolve)
return NULL;
}
ret->owner = 1;
#if LIBXML_VERSION < 21100
if (ret->checked == 0)
{
ret->checked = 1;
}
#endif
}
}
}