forked from premiere/premiere-libtorrent
merged mingw fix from RC_0_16
This commit is contained in:
parent
e780f5240f
commit
68f2e3f1ff
|
@ -43,6 +43,7 @@
|
|||
|
||||
0.16.15 release
|
||||
|
||||
* fix mingw time_t 64 bit issue
|
||||
* fix use of SetFileValidData on windows
|
||||
* fix crash when using full allocation storage mode
|
||||
* improve error_code and error_category support in python bindings
|
||||
|
|
|
@ -262,6 +262,15 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
# define TORRENT_USE_UNC_PATHS 1
|
||||
#endif
|
||||
|
||||
// this is necessary to enable 64-bit
|
||||
// time_t, specifically used for the stat
|
||||
// struct. Without this, modification times
|
||||
// returned by stat may be incorrect and
|
||||
// consistently fail resume data
|
||||
#ifndef __MINGW_USE_VC2005_COMPAT
|
||||
# define __MINGW_USE_VC2005_COMPAT
|
||||
#endif
|
||||
|
||||
// ==== WINDOWS ===
|
||||
#elif defined WIN32
|
||||
#define TORRENT_WINDOWS
|
||||
|
|
Loading…
Reference in New Issue