aboutsummaryrefslogtreecommitdiff
path: root/src/headers.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-12-19 17:08:25 -0500
committerLuke Dashjr <luke-jr+git@utopios.org>2012-06-14 19:52:31 +0000
commit5cd2a640a5ef867c376582810b1dd4b6fa43df5e (patch)
tree9963e1702c8d5657f28b8edb6390a93383fb20ac /src/headers.h
parentca39829ecb90e392b9722292739585124ba0d7c1 (diff)
downloadbitcoin-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/headers.h')
-rw-r--r--src/headers.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/headers.h b/src/headers.h
index 537d405b88..9b880c1528 100644
--- a/src/headers.h
+++ b/src/headers.h
@@ -21,9 +21,6 @@
// Include boost/foreach here as it defines __STDC_LIMIT_MACROS on some systems.
#include <boost/foreach.hpp>
-#ifndef __STDC_LIMIT_MACROS
-#define __STDC_LIMIT_MACROS // to enable UINT64_MAX from stdint.h
-#endif
#if (defined(__unix__) || defined(unix)) && !defined(USG)
#include <sys/param.h> // to get BSD define
@@ -52,7 +49,6 @@
#include <stdlib.h>
#include <time.h>
#include <math.h>
-#include <limits.h>
#include <float.h>
#include <assert.h>
#include <iostream>