summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vp8/common/type_aliases.h3
1 files changed, 3 insertions, 0 deletions
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