bitcoin/bitcoin — Issue #645: Failure to compile on Debian Lenny in net.cpp - PATCH
Author: oldirty
Created: 2011-11-20 04:34:26+00:00
State: open

UINT64_MIN out of scope.

*** headers.h	2011-11-19 23:01:12.000000000 -0500
--- headers.h_old	2011-11-19 23:33:42.000000000 -0500
***************
*** 20,28 ****
#define WIN32_LEAN_AND_MEAN 1

// Include boost/foreach here as it defines __STDC_LIMIT_MACROS on some systems.
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS // to enable UINT64_MAX from stdint.h
- #include
#endif

#if (defined(__unix__) || defined(unix)) && !defined(USG)
--- 20,28 ----
#define WIN32_LEAN_AND_MEAN 1

// Include boost/foreach here as it defines __STDC_LIMIT_MACROS on some systems.
+ #include
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS // to enable UINT64_MAX from stdint.h
#endif

#if (defined(__unix__) || defined(unix)) && !defined(USG)