[x265] [PATCH 1 of 6] fix build error, define INT16_MAX

Min Chen chenm003 at 163.com
Thu Sep 10 00:33:40 CEST 2015


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1441836152 18000
# Node ID 92ca9b310d99c8fa99142cde4577d6de845aa65e
# Parent  365f7ed4d89628d49cd6af8d81d4edc01f73ffad
fix build error, define INT16_MAX
---
 source/compat/msvc/stdint.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff -r 365f7ed4d896 -r 92ca9b310d99 source/compat/msvc/stdint.h
--- a/source/compat/msvc/stdint.h	Tue Sep 08 16:38:01 2015 +0530
+++ b/source/compat/msvc/stdint.h	Wed Sep 09 17:02:32 2015 -0500
@@ -8,6 +8,7 @@
 #if !defined(UINT64_MAX)
 #include <limits.h>
 #define UINT64_MAX _UI64_MAX
+#define INT16_MAX  _I16_MAX
 #endif
 
 /* a minimal set of C99 types for use with MSVC (VC9) */



More information about the x265-devel mailing list