remove dup of extern int nConnectTimeout; in netbase
This commit is contained in:
parent
97ab93f50b
commit
cb7a3edc3d
@ -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 New Issue
Block a user