From e51a30f3ddeac3d4afc94916036a2a1ce733041c Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 31 Jul 2012 16:39:12 +0000 Subject: [PATCH] fix INT64_MAX build issue on linux --- include/libtorrent/config.hpp | 1 + 1 file changed, 1 insertion(+) 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