use lazy_bitfield
This commit is contained in:
parent
14c34684dc
commit
1f24972c9d
|
@ -371,6 +371,7 @@ static PyObject *torrent_init(PyObject *self, PyObject *args)
|
||||||
// Init values
|
// Init values
|
||||||
|
|
||||||
M_settings->user_agent = std::string(user_agent);
|
M_settings->user_agent = std::string(user_agent);
|
||||||
|
M_settings->lazy_bitfields = 1;
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
DWORD windows_version = ::GetVersion();
|
DWORD windows_version = ::GetVersion();
|
||||||
if ((windows_version & 0xff) >= 6)
|
if ((windows_version & 0xff) >= 6)
|
||||||
|
|
Loading…
Reference in New Issue