exclude obsolete compatibility code on msvc-14 and later

This commit is contained in:
Steven Siloti 2015-08-19 19:48:38 -07:00 committed by arvidn
parent 82a3683f7d
commit 4b702701b2
1 changed files with 1 additions and 3 deletions

View File

@ -380,7 +380,7 @@ POSSIBILITY OF SUCH DAMAGE.
#define TORRENT_UNUSED(x) (void)(x)
#if defined TORRENT_WINDOWS && !defined TORRENT_MINGW
#if (defined _MSC_VER && _MSC_VER < 1900) && !defined TORRENT_MINGW
#include <stdarg.h>
@ -402,8 +402,6 @@ int snprintf(char* buf, int len, char const* fmt, ...)
}
#define strtoll _strtoi64
#else
#include <limits.h>
#endif
// at the highest warning level, clang actually warns about functions