Fix compilation on Windows

This should not affect non-Win32 platforms in any way.
As for Win32 (both MinGW and MSVC), this should hopefully allow for
unpatched compilation. Correct functioning is not yet guaranteed though.


git-svn-id: file:///data/workdir/Transmission-svn/trunk@14382 1bcf1a7e-6170-4b50-b784-84ec52b2dec6