forked from premiere/premiere-libtorrent
fixed http_parser to build on windows
This commit is contained in:
parent
5527a8e9b1
commit
69f9a5b5fc
|
@ -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")
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue