Skip to content

Commit 37913d0

Browse files
committed
Fix GSXML compatibility with libxml2 v2.11.0
Fixes #294.
1 parent a5a1ef0 commit 37913d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/Additions/GSXML.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2671,10 +2671,12 @@ + (void) initialize
26712671
return NULL;
26722672
}
26732673
ret->owner = 1;
2674+
#if LIBXML_VERSION < 21100
26742675
if (ret->checked == 0)
26752676
{
26762677
ret->checked = 1;
26772678
}
2679+
#endif
26782680
}
26792681
}
26802682
}

0 commit comments

Comments
 (0)