Only do the _MSC_VER calculations if defined.
This commit is contained in:
@@ -113,6 +113,7 @@ typedef int int32_t;
|
||||
typedef unsigned int uint32_t;
|
||||
typedef __int64 int64_t;
|
||||
typedef unsigned __int64 uint64_t;
|
||||
#if defined(_MSC_VER)
|
||||
#if _MSC_VER < 1700 // 1700 = VC++ 2011
|
||||
#define INT64_C(i) i##i64
|
||||
#ifndef UINT64_C
|
||||
@@ -123,6 +124,7 @@ typedef unsigned __int64 uint64_t;
|
||||
static inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; }
|
||||
#endif // #if _MSC_VER < 1600
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#undef min
|
||||
#undef max
|
||||
|
||||
Reference in New Issue
Block a user