diff --git a/include/libtorrent/xml_parse.hpp b/include/libtorrent/xml_parse.hpp index 07ac2402a..8002582ea 100644 --- a/include/libtorrent/xml_parse.hpp +++ b/include/libtorrent/xml_parse.hpp @@ -106,7 +106,7 @@ namespace libtorrent } // parse the name of the tag. - for (start = p; p != end && *p != '>' && !isspace(*p); ++p); + for (start = p; p != end && *p != '>' && !is_space(*p); ++p); char* tag_name_end = p;