Fixed FTBFS with libxml2 >= 2.9.8

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
François Andriot 6 years ago committed by Michele Calgaro
parent 48f8d96999
commit 9a0e630204

@ -283,7 +283,11 @@ breakPointItemNew(void)
* Free memory associated with this break point
*/
void
#if LIBXML_VERSION >= 20908
breakPointItemFree(void *payload, const xmlChar * name)
#else
breakPointItemFree(void *payload, xmlChar * name)
#endif
{
Q_UNUSED(name);
if (payload) {

@ -486,7 +486,11 @@ extern "C" {
*/
#endif
#endif
#if LIBXML_VERSION >= 20908
void breakPointItemFree(void *payload, const xmlChar * name);
#else
void breakPointItemFree(void *payload, xmlChar * name);
#endif

Loading…
Cancel
Save