-
+ BAC815C59CD69F09371CBC605C3365056B02529D4FC0CD68026B6DC0304F12DAFCDA86479F52191F20F14B87C56006306E362020BA7A0651CCE2BDA87DB547ACbitcoin/src/headers.h(0 . 0)(1 . 96)
5410 // Copyright (c) 2009-2010 Satoshi Nakamoto
5411 // Copyright (c) 2009-2012 The Bitcoin developers
5412 // Distributed under the MIT/X11 software license, see the accompanying
5413 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
5414
5415 #ifdef _MSC_VER
5416 #pragma warning(disable:4786)
5417 #pragma warning(disable:4804)
5418 #pragma warning(disable:4805)
5419 #pragma warning(disable:4717)
5420 #endif
5421 #ifdef _WIN32_WINNT
5422 #undef _WIN32_WINNT
5423 #endif
5424 #define _WIN32_WINNT 0x0500
5425 #ifdef _WIN32_IE
5426 #undef _WIN32_IE
5427 #endif
5428 #define _WIN32_IE 0x0400
5429 #define WIN32_LEAN_AND_MEAN 1
5430
5431 // Include boost/foreach here as it defines __STDC_LIMIT_MACROS on some systems.
5432 #include <boost/foreach.hpp>
5433 #ifndef __STDC_LIMIT_MACROS
5434 #define __STDC_LIMIT_MACROS // to enable UINT64_MAX from stdint.h
5435 #endif
5436
5437 #if (defined(__unix__) || defined(unix)) && !defined(USG)
5438 #include <sys/param.h> // to get BSD define
5439 #endif
5440 #ifdef MAC_OSX
5441 #ifndef BSD
5442 #define BSD 1
5443 #endif
5444 #endif
5445 #include <openssl/buffer.h>
5446 #include <openssl/ecdsa.h>
5447 #include <openssl/evp.h>
5448 #include <openssl/rand.h>
5449 #include <openssl/sha.h>
5450 #include <openssl/ripemd.h>
5451 #include <db_cxx.h>
5452 #include <stdio.h>
5453 #include <stdlib.h>
5454 #include <time.h>
5455 #include <math.h>
5456 #include <limits.h>
5457 #include <float.h>
5458 #include <assert.h>
5459 #include <iostream>
5460 #include <sstream>
5461 #include <string>
5462 #include <vector>
5463 #include <list>
5464 #include <deque>
5465 #include <map>
5466
5467 #ifdef WIN32
5468 #include <windows.h>
5469 #include <winsock2.h>
5470 #include <mswsock.h>
5471 #include <shlobj.h>
5472 #include <shlwapi.h>
5473 #include <io.h>
5474 #include <process.h>
5475 #include <malloc.h>
5476 #else
5477 #include <sys/time.h>
5478 #include <sys/resource.h>
5479 #include <sys/socket.h>
5480 #include <sys/stat.h>
5481 #include <arpa/inet.h>
5482 #include <netdb.h>
5483 #include <unistd.h>
5484 #include <errno.h>
5485 #include <net/if.h>
5486 #include <ifaddrs.h>
5487 #include <fcntl.h>
5488 #include <signal.h>
5489 #endif
5490 #ifdef BSD
5491 #include <netinet/in.h>
5492 #endif
5493
5494
5495 #include "serialize.h"
5496 #include "uint256.h"
5497 #include "util.h"
5498 #include "bignum.h"
5499 #include "base58.h"
5500 #include "main.h"
5501 #ifdef QT_GUI
5502 #include "qtui.h"
5503 #else
5504 #include "noui.h"
5505 #endif