Changeset View
Changeset View
Standalone View
Standalone View
src/seeder/compat.h
| // Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
| // Copyright (c) 2009-2012 The Bitcoin developers | // Copyright (c) 2009-2012 The Bitcoin developers | ||||
| // Distributed under the MIT/X11 software license, see the accompanying | // Distributed under the MIT/X11 software license, see the accompanying | ||||
| // file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
| #ifndef _BITCOIN_COMPAT_H | #ifndef BITCOIN_SEEDER_COMPAT_H | ||||
| #define _BITCOIN_COMPAT_H 1 | #define BITCOIN_SEEDER_COMPAT_H | ||||
| #ifdef WIN32 | #ifdef WIN32 | ||||
| #define _WIN32_WINNT 0x0501 | #define _WIN32_WINNT 0x0501 | ||||
| #define WIN32_LEAN_AND_MEAN 1 | #define WIN32_LEAN_AND_MEAN 1 | ||||
| #ifndef NOMINMAX | #ifndef NOMINMAX | ||||
| #define NOMINMAX | #define NOMINMAX | ||||
| #endif | #endif | ||||
| #include <mswsock.h> | #include <mswsock.h> | ||||
| ▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines | |||||