diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-12-19 17:08:25 -0500 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-06-14 20:38:25 +0000 |
commit | 0ce74bfaa5f34351e5b23e19ee90e7367bd50245 (patch) | |
tree | a4445dd77cc0964fca7aa1514aaf324f278350fb /src/util.h | |
parent | 3703150d56ff6ee557ab330e55637c9c23835902 (diff) | |
download | bitcoin-0ce74bfaa5f34351e5b23e19ee90e7367bd50245.tar.xz |
Use std::numeric_limits<> for typesafe INT_MAX/etc
(this fixes a Mac OS X gitian build error for 0.5.x)
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/util.h b/src/util.h index da8e7630b8..69ac670f76 100644 --- a/src/util.h +++ b/src/util.h @@ -84,11 +84,7 @@ T* alignup(T* p) #ifdef WIN32 #define MSG_NOSIGNAL 0 #define MSG_DONTWAIT 0 -#ifndef UINT64_MAX -#define UINT64_MAX _UI64_MAX -#define INT64_MAX _I64_MAX -#define INT64_MIN _I64_MIN -#endif + #ifndef S_IRUSR #define S_IRUSR 0400 #define S_IWUSR 0200 |