Fixed compiler warning for redefinition of UINT64_MAX

sensor-dev
Chris Laurel 2009-09-18 00:45:14 +00:00
parent bccf694deb
commit d5dd361843
1 changed files with 2 additions and 0 deletions

View File

@ -32,7 +32,9 @@ typedef unsigned __int64 uint64;
typedef int64_t int64;
typedef uint64_t uint64;
#define INT64_MAX 9223372036854775807LL
#ifndef UINT64_MAX
#define UINT64_MAX 0xffffffffffffffffULL
#endif
//#define INT64_MAX std::numeric_limits<int64_t>::max()
//#define UINT64_MAX std::numeric_limits<uint64_t>::max()
#endif