[x265] [PATCH 1 of 2] fix undefined INT64_MAX in VS2008

Min Chen chenm003 at 163.com
Tue Jun 14 23:33:41 CEST 2016


# HG changeset patch
# User Min Chen <min.chen at multicorewareinc.com>
# Date 1465938974 18000
# Node ID 3d8e1d324c9f4bd50eeb1addf85507b668ef3fe9
# Parent  106a5a7dc4b337121c11484bc3bc4900b8a0d9a4
fix undefined INT64_MAX in VS2008
---
 source/compat/msvc/stdint.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff -r 106a5a7dc4b3 -r 3d8e1d324c9f source/compat/msvc/stdint.h
--- a/source/compat/msvc/stdint.h	Thu Jun 09 13:34:55 2016 -0500
+++ b/source/compat/msvc/stdint.h	Tue Jun 14 16:16:14 2016 -0500
@@ -8,6 +8,7 @@
 #if !defined(UINT64_MAX)
 #include <limits.h>
 #define UINT64_MAX _UI64_MAX
+#define INT64_MAX _I64_MAX
 #define INT16_MAX  _I16_MAX
 #endif
 



More information about the x265-devel mailing list