* Source/NSXMLNode.m: Conditionally compile out code if

the supporting library is not available.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34709 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2012-02-03 16:44:27 +00:00
parent c095336eeb
commit 0c96a6f479
2 changed files with 9 additions and 1 deletions

View file

@ -1,6 +1,11 @@
2012-02-03 11:43-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLNode.m: Conditionally compile out code if
the supporting library is not available.
2012-02-03 09:15-EST Gregory John Casamento <greg.casamento@gmail.com>
* Tests/base/NSXMLNode/basic.m: Correct test for
* Tests/base/NSXMLNode/basic.m: Correct test for
text node.
2012-02-02 22:57-EST Gregory John Casamento <greg.casamento@gmail.com>

View file

@ -29,6 +29,8 @@
#import "GSInternal.h"
GS_PRIVATE_INTERNAL(NSXMLNode)
#if defined(HAVE_LIBXML)
int countAttributes(xmlNodePtr node)
{
int count = 0;
@ -1430,3 +1432,4 @@ NSLog(@"RELEASING TRICKY EXTRA RETAIN in %@ now: %d", self, internal->externalRe
}
@end
#endif