From fdd24825363c9eb7046255abc6a8feb87ab533a2 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 22 Jun 2011 01:17:22 +0000 Subject: [PATCH] fix windows isspace issue --- include/libtorrent/xml_parse.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;