From: Yaowu Xu Date: Thu, 2 Aug 2012 18:36:55 +0000 (-0700) Subject: Define INT64_MAX for msvc to build X-Git-Tag: v1.3.0~1217^2~354 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f05a51475d4a4084a3aba87e3138ddaf8fb526b1;p=libvpx Define INT64_MAX for msvc to build Change-Id: I6cb88d87b7549ded1de6ff9ef65ff958ad448999 --- diff --git a/vp8/common/type_aliases.h b/vp8/common/type_aliases.h index 22b531a76..eda6a2ec2 100644 --- a/vp8/common/type_aliases.h +++ b/vp8/common/type_aliases.h @@ -97,6 +97,9 @@ typedef unsigned char BOOLEAN; #ifdef _MSC_VER typedef __int64 INT64; +#ifndef INT64_MAX +#define INT64_MAX LLONG_MAX +#endif #else #ifndef TYPE_INT64