merged fix from RC_0_16
This commit is contained in:
parent
4607e36c6f
commit
4c588eba3f
|
@ -478,11 +478,19 @@ inline int snprintf(char* buf, int len, char const* fmt, ...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(TORRENT_READ_HANDLER_MAX_SIZE)
|
#if !defined(TORRENT_READ_HANDLER_MAX_SIZE)
|
||||||
# define TORRENT_READ_HANDLER_MAX_SIZE 330
|
# ifdef _GLIBCXX_DEBUG
|
||||||
|
# define TORRENT_READ_HANDLER_MAX_SIZE 400
|
||||||
|
# else
|
||||||
|
# define TORRENT_READ_HANDLER_MAX_SIZE 330
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(TORRENT_WRITE_HANDLER_MAX_SIZE)
|
#if !defined(TORRENT_WRITE_HANDLER_MAX_SIZE)
|
||||||
# define TORRENT_WRITE_HANDLER_MAX_SIZE 330
|
# ifdef _GLIBCXX_DEBUG
|
||||||
|
# define TORRENT_WRITE_HANDLER_MAX_SIZE 400
|
||||||
|
# else
|
||||||
|
# define TORRENT_WRITE_HANDLER_MAX_SIZE 330
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined _MSC_VER && _MSC_VER <= 1200
|
#if defined _MSC_VER && _MSC_VER <= 1200
|
||||||
|
|
Loading…
Reference in New Issue