shithub: libvpx

Download patch

ref: f8ff3e5d4783b6e30950927d6490986313a55d5f
parent: fd6f4926046fe13aba14eecbc76dc4b8a5664227
author: Yaowu Xu <yaowu@google.com>
date: Thu Dec 13 11:09:52 EST 2012

prevents redefine of INT64_MAX

MSVC 2012 (_MSC_VER=1600) introduced the definition, this commit
prevents the redefinition of the macro

Change-Id: I7de92e7e9e865a342f2bcc4b071f8d3c9b2a508c

--- a/vp9/common/vp9_type_aliases.h
+++ b/vp9/common/vp9_type_aliases.h
@@ -97,8 +97,10 @@
 
 #ifdef _MSC_VER
 typedef __int64 INT64;
+#if _MSC_VER < 1600
 #ifndef INT64_MAX
 #define INT64_MAX LLONG_MAX
+#endif
 #endif
 #else
 
--