merged mingw fix from RC_0_16
This commit is contained in:
parent
e780f5240f
commit
68f2e3f1ff
|
@ -43,6 +43,7 @@
|
||||||
|
|
||||||
0.16.15 release
|
0.16.15 release
|
||||||
|
|
||||||
|
* fix mingw time_t 64 bit issue
|
||||||
* fix use of SetFileValidData on windows
|
* fix use of SetFileValidData on windows
|
||||||
* fix crash when using full allocation storage mode
|
* fix crash when using full allocation storage mode
|
||||||
* improve error_code and error_category support in python bindings
|
* improve error_code and error_category support in python bindings
|
||||||
|
|
|
@ -250,8 +250,8 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define TORRENT_MINGW
|
#define TORRENT_MINGW
|
||||||
#define TORRENT_WINDOWS
|
#define TORRENT_WINDOWS
|
||||||
#ifndef TORRENT_USE_ICONV
|
#ifndef TORRENT_USE_ICONV
|
||||||
#define TORRENT_USE_ICONV 0
|
# define TORRENT_USE_ICONV 0
|
||||||
#define TORRENT_USE_LOCALE 1
|
# define TORRENT_USE_LOCALE 1
|
||||||
#endif
|
#endif
|
||||||
#define TORRENT_USE_RLIMIT 0
|
#define TORRENT_USE_RLIMIT 0
|
||||||
#define TORRENT_USE_NETLINK 0
|
#define TORRENT_USE_NETLINK 0
|
||||||
|
@ -259,7 +259,16 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define TORRENT_HAS_SALEN 0
|
#define TORRENT_HAS_SALEN 0
|
||||||
#define TORRENT_USE_GETIPFORWARDTABLE 1
|
#define TORRENT_USE_GETIPFORWARDTABLE 1
|
||||||
#ifndef TORRENT_USE_UNC_PATHS
|
#ifndef TORRENT_USE_UNC_PATHS
|
||||||
#define TORRENT_USE_UNC_PATHS 1
|
# 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
|
#endif
|
||||||
|
|
||||||
// ==== WINDOWS ===
|
// ==== WINDOWS ===
|
||||||
|
|
Loading…
Reference in New Issue