merged fix from RC_0_16

This commit is contained in:
Arvid Norberg 2013-05-11 07:42:40 +00:00
parent 4607e36c6f
commit 4c588eba3f
1 changed files with 10 additions and 2 deletions

View File

@ -478,11 +478,19 @@ inline int snprintf(char* buf, int len, char const* fmt, ...)
#endif
#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
#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
#if defined _MSC_VER && _MSC_VER <= 1200