Fixed xml_node::all_elements_by_name include dependencies

git-svn-id: http://pugixml.googlecode.com/svn/trunk@124 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2009-08-31 12:32:21 +00:00
parent 7797d49ed6
commit 530b0dec21
2 changed files with 8 additions and 1 deletions

View File

@ -1684,6 +1684,12 @@ namespace pugi
{
namespace impl
{
// Compare two strings
int strcmp(const char* src, const char* dst)
{
return ::strcmp(src, dst);
}
// Compare two strings, with globbing, and character sets.
int strcmpwild(const char* src, const char* dst)
{

View File

@ -1947,6 +1947,7 @@ namespace pugi
{
namespace impl
{
int strcmp(const char*, const char*);
int strcmpwild(const char*, const char*);
}
@ -1958,7 +1959,7 @@ namespace pugi
{
if (node.type() == node_element)
{
if (!strcmp(name, node.name()))
if (!impl::strcmp(name, node.name()))
{
*it = node;
++it;