diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-08-29 16:28:10 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-08-29 16:28:10 +0000 |
commit | 954de8f89a5538129b5ebf89b8fe06678051f516 (patch) | |
tree | 4a665920a6d1d84700b9266105ab36056598c302 /tests/test_xpath_api.cpp | |
parent | 589947da0bf3e446f0499c3052821a5019a0e94e (diff) |
tests: Various compilation fixes for BCC and MSVC6
git-svn-id: http://pugixml.googlecode.com/svn/trunk@702 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_xpath_api.cpp')
-rw-r--r-- | tests/test_xpath_api.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_xpath_api.cpp b/tests/test_xpath_api.cpp index 90f316e..df9b9a6 100644 --- a/tests/test_xpath_api.cpp +++ b/tests/test_xpath_api.cpp @@ -1,10 +1,11 @@ #ifndef PUGIXML_NO_XPATH +#include <string.h> // because Borland's STL is braindead, we have to include <string.h> _before_ <string> in order to get memcmp + #include "common.hpp" #include "helpers.hpp" -#include <string.h> #include <string> TEST_XML(xpath_api_select_nodes, "<node><head/><foo/><foo/><tail/></node>") |