]> granicus.if.org Git - libvpx/commitdiff
Define INT64_MAX for msvc to build
authorYaowu Xu <yaowu@google.com>
Thu, 2 Aug 2012 18:36:55 +0000 (11:36 -0700)
committerYaowu Xu <yaowu@google.com>
Thu, 2 Aug 2012 18:36:55 +0000 (11:36 -0700)
Change-Id: I6cb88d87b7549ded1de6ff9ef65ff958ad448999

vp8/common/type_aliases.h

index 22b531a7675e84fdc5fe5be1fe0aa48367c06a97..eda6a2ec2fcc0ce2e243629f1918abc3ab7c978b 100644 (file)
@@ -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