prevents redefine of INT64_MAX

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

Change-Id: I7de92e7e9e865a342f2bcc4b071f8d3c9b2a508c
This commit is contained in:
Yaowu Xu 2012-12-13 16:09:52 -08:00
parent fd6f492604
commit f8ff3e5d47

View File

@ -97,9 +97,11 @@ typedef unsigned char BOOLEAN;
#ifdef _MSC_VER #ifdef _MSC_VER
typedef __int64 INT64; typedef __int64 INT64;
#if _MSC_VER < 1600
#ifndef INT64_MAX #ifndef INT64_MAX
#define INT64_MAX LLONG_MAX #define INT64_MAX LLONG_MAX
#endif #endif
#endif
#else #else
#ifndef TYPE_INT64 #ifndef TYPE_INT64