diff --git a/include/libtorrent/config.hpp b/include/libtorrent/config.hpp index ec9f50ff4..6c5eb012d 100644 --- a/include/libtorrent/config.hpp +++ b/include/libtorrent/config.hpp @@ -50,6 +50,7 @@ POSSIBILITY OF SUCH DAMAGE. #endif #if !defined _MSC_VER || _MSC_VER >= 1600 +#define __STDC_LIMIT_MACROS 1 #include // for INT64_MAX #else #if !defined INT64_MAX