From 26ce92b3526430d4a40b2faccef4facb966d6a0a Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Mon, 19 Dec 2011 17:08:25 -0500 Subject: Use std::numeric_limits<> for typesafe INT_MAX/etc --- src/util.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 62b213355d..9fe95e37fd 100644 --- a/src/util.h +++ b/src/util.h @@ -73,11 +73,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 -- cgit v1.2.3