Commit f8ff3e5d authored by Yaowu Xu's avatar Yaowu Xu
Browse files

prevents redefine of INT64_MAX

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

Change-Id: I7de92e7e9e865a342f2bcc4b071f8d3c9b2a508c
parent fd6f4926
......@@ -97,9 +97,11 @@ typedef unsigned char BOOLEAN;
#ifdef _MSC_VER
typedef __int64 INT64;
#if _MSC_VER < 1600
#ifndef INT64_MAX
#define INT64_MAX LLONG_MAX
#endif
#endif
#else
#ifndef TYPE_INT64
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment