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 19:52:31 +0000 |
commit | 5cd2a640a5ef867c376582810b1dd4b6fa43df5e (patch) | |
tree | 9963e1702c8d5657f28b8edb6390a93383fb20ac /src/util.h | |
parent | ca39829ecb90e392b9722292739585124ba0d7c1 (diff) | |
download | bitcoin-5cd2a640a5ef867c376582810b1dd4b6fa43df5e.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 88cc1e79ea..284cf33c4b 100644 --- a/src/util.h +++ b/src/util.h @@ -84,11 +84,7 @@ T* alignup(T* p) #ifdef __WXMSW__ #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 |