X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fheaders.h;h=fb86a6fe02b35b075f8a9ad0145ed6cb39179b7b;hb=d11488abd05cb39a9f481e7c4c35f780197a3d28;hp=5e39eccb0c91a62130333f8711a420bbd4711935;hpb=b90c9ecb132ad686275afafe506f8044719245ec;p=novacoin.git diff --git a/src/headers.h b/src/headers.h index 5e39ecc..fb86a6f 100644 --- a/src/headers.h +++ b/src/headers.h @@ -1,7 +1,7 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2011 The Bitcoin developers +// Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying -// file license.txt or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifdef _MSC_VER #pragma warning(disable:4786) @@ -12,29 +12,24 @@ #ifdef _WIN32_WINNT #undef _WIN32_WINNT #endif -#define _WIN32_WINNT 0x0500 +#define _WIN32_WINNT 0x0501 #ifdef _WIN32_IE #undef _WIN32_IE #endif #define _WIN32_IE 0x0400 #define WIN32_LEAN_AND_MEAN 1 -#define __STDC_LIMIT_MACROS // to enable UINT64_MAX from stdint.h + +// Include boost/foreach here as it defines __STDC_LIMIT_MACROS on some systems. +#include + #if (defined(__unix__) || defined(unix)) && !defined(USG) #include // to get BSD define #endif -#ifdef __WXMAC_OSX__ +#ifdef MAC_OSX #ifndef BSD #define BSD 1 #endif #endif -#ifdef GUI -#include -#include -#include -#include -#include -#include -#endif #include #include #include @@ -46,7 +41,6 @@ #include #include #include -#include #include #include #include @@ -57,9 +51,7 @@ #include #include -#include - -#ifdef __WXMSW__ +#ifdef WIN32 #include #include #include @@ -87,36 +79,14 @@ #endif -#pragma hdrstop - #include "serialize.h" #include "uint256.h" #include "util.h" #include "bignum.h" #include "base58.h" #include "main.h" -#ifdef GUI -#include "uibase.h" -#include "ui.h" -#else #ifdef QT_GUI #include "qtui.h" #else #include "noui.h" #endif -#endif - -#ifdef GUI -#include "xpm/addressbook16.xpm" -#include "xpm/addressbook20.xpm" -#include "xpm/bitcoin16.xpm" -#include "xpm/bitcoin20.xpm" -#include "xpm/bitcoin32.xpm" -#include "xpm/bitcoin48.xpm" -#include "xpm/bitcoin80.xpm" -#include "xpm/check.xpm" -#include "xpm/send16.xpm" -#include "xpm/send16noshadow.xpm" -#include "xpm/send20.xpm" -#include "xpm/about.xpm" -#endif