Merge pull request #4264
cb7a3ed
remove dup of extern int nConnectTimeout; in netbase (Philip Kaufmann)
This commit is contained in:
commit
1f6e64228a
1 changed files with 1 additions and 3 deletions
|
@ -17,6 +17,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
extern int nConnectTimeout;
|
extern int nConnectTimeout;
|
||||||
|
extern bool fNameLookup;
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
// In MSVC, this is defined as a macro, undefine it to prevent a compile and link error
|
// In MSVC, this is defined as a macro, undefine it to prevent a compile and link error
|
||||||
|
@ -33,9 +34,6 @@ enum Network
|
||||||
NET_MAX,
|
NET_MAX,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int nConnectTimeout;
|
|
||||||
extern bool fNameLookup;
|
|
||||||
|
|
||||||
/** IP address (IPv6, or IPv4 using mapped IPv6 range (::FFFF:0:0/96)) */
|
/** IP address (IPv6, or IPv4 using mapped IPv6 range (::FFFF:0:0/96)) */
|
||||||
class CNetAddr
|
class CNetAddr
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue