fixed http_parser to build on windows

This commit is contained in:
Arvid Norberg 2008-01-27 22:00:14 +00:00
parent 5527a8e9b1
commit 69f9a5b5fc
1 changed files with 4 additions and 0 deletions

View File

@ -157,7 +157,11 @@ namespace libtorrent
if (name == "content-length")
{
#ifdef WIN32
m_content_length = _atoi64(value.c_str());
#else
m_content_length = atoll(value.c_str());
#endif
}
else if (name == "content-range")
{