0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-27 13:33:17 +08:00

tests: Fix MSVC6 compilation

Also fixes PUGIXML_NO_STL compilation and makes it possible to build with
any version of new Windows SDK.

git-svn-id: https://pugixml.googlecode.com/svn/trunk@1044 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
Arseny Kapoulkine 2014-10-03 02:40:11 +00:00
parent 04913dc358
commit f3b220ca4e
3 changed files with 4 additions and 2 deletions

View File

@ -213,6 +213,7 @@ else if ( $(toolset:I=^msvc) )
} }
else else
{ {
LDFLAGS += "/LIBPATH:\"%WINKITS_PATH%\\lib\\win8\\um$(kits_postfix)\"" ;
LDFLAGS += "/LIBPATH:\"%WINKITS_PATH%\\lib\\winv6.3\\um$(kits_postfix)\"" ; LDFLAGS += "/LIBPATH:\"%WINKITS_PATH%\\lib\\winv6.3\\um$(kits_postfix)\"" ;
} }
} }

View File

@ -1,6 +1,7 @@
#include "common.hpp" #include "common.hpp"
#include <limits> #include <limits>
#include <string>
TEST_XML(dom_attr_assign, "<node/>") TEST_XML(dom_attr_assign, "<node/>")
{ {
@ -1256,7 +1257,7 @@ TEST(dom_node_copy_stackless)
data += STR("text"); data += STR("text");
for (unsigned int i = 0; i < count; ++i) for (unsigned int j = 0; j < count; ++j)
data += STR("</a>"); data += STR("</a>");
xml_document doc; xml_document doc;

View File

@ -419,7 +419,7 @@ TEST(write_stackless)
data += STR("text"); data += STR("text");
for (unsigned int i = 0; i < count; ++i) for (unsigned int j = 0; j < count; ++j)
data += STR("</a>"); data += STR("</a>");
xml_document doc; xml_document doc;