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 20:38:25 +0000
commit0ce74bfaa5f34351e5b23e19ee90e7367bd50245 (patch)
treea4445dd77cc0964fca7aa1514aaf324f278350fb /src/headers.h
parent3703150d56ff6ee557ab330e55637c9c23835902 (diff)
downloadbitcoin-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/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 cef2718c9a..83272d0a3e 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
@@ -44,7 +41,6 @@
#include <stdlib.h>
#include <time.h>
#include <math.h>
-#include <limits.h>
#include <float.h>
#include <assert.h>
#include <iostream>