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:
parent
7797d49ed6
commit
530b0dec21
@ -1684,6 +1684,12 @@ namespace pugi
|
|||||||
{
|
{
|
||||||
namespace impl
|
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.
|
// Compare two strings, with globbing, and character sets.
|
||||||
int strcmpwild(const char* src, const char* dst)
|
int strcmpwild(const char* src, const char* dst)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1947,6 +1947,7 @@ namespace pugi
|
|||||||
{
|
{
|
||||||
namespace impl
|
namespace impl
|
||||||
{
|
{
|
||||||
|
int strcmp(const char*, const char*);
|
||||||
int strcmpwild(const char*, const char*);
|
int strcmpwild(const char*, const char*);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1958,7 +1959,7 @@ namespace pugi
|
|||||||
{
|
{
|
||||||
if (node.type() == node_element)
|
if (node.type() == node_element)
|
||||||
{
|
{
|
||||||
if (!strcmp(name, node.name()))
|
if (!impl::strcmp(name, node.name()))
|
||||||
{
|
{
|
||||||
*it = node;
|
*it = node;
|
||||||
++it;
|
++it;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user