// Copyright (c) 2009-2010 Satoshi Nakamoto // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. #ifdef _MSC_VER #pragma warning(disable:4786) #pragma warning(disable:4804) #pragma warning(disable:4805) #pragma warning(disable:4717) #endif #ifdef _WIN32_WINNT #undef _WIN32_WINNT #endif #define _WIN32_WINNT 0x0500 #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 #if (defined(__unix__) || defined(unix)) && !defined(USG) #include // to get BSD define #endif #ifdef __WXMAC_OSX__ #ifndef BSD #define BSD 1 #endif #endif #ifdef GUI #include #include #include #include #include #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef __WXMSW__ #include #include #include #include #include #include #include #include #else #include #include #include #include #include #include #include #include #include #include #include #include #endif #ifdef BSD #include #endif #pragma hdrstop #include "strlcpy.h" #include "serialize.h" #include "uint256.h" #include "util.h" #include "key.h" #include "bignum.h" #include "base58.h" #include "script.h" #include "main.h" #ifdef GUI #include "uibase.h" #include "ui.h" #else #include "noui.h" #endif #include "init.h" #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