Closed zovt closed 9 years ago
this shouldn't be platform specific, it's a C++ error somewhere won't merge as it is right now
Check what include/libtorrent/add_torrent_params.hpp says about the member params.resume_data, normally it is a vector
It is std::vector<char>
in the latest trunk:
http://sourceforge.net/p/libtorrent/code/HEAD/tree/trunk/include/libtorrent/add_torrent_params.hpp#l300
The platform check isn't necessary, the code should be params.resume_data = *resumedata;
This change allows gtorrent-core to be built on windows. Otherwise, the compiler throws an error:
NOTE: I have not tested this in any gui-kit, so I don't know whether this will affect functionality.