mingw build problem fix attempt
This commit is contained in:
parent
432a202c07
commit
afa15d6dcf
@ -24,6 +24,12 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
|
// mingw build quirks
|
||||||
|
#if defined(_WIN32) && defined(__GNUC__)
|
||||||
|
#define AI_NUMERICSERV NI_NUMERICSERV
|
||||||
|
#define AI_ADDRCONFIG LUP_ADDRCONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace ix
|
namespace ix
|
||||||
{
|
{
|
||||||
const int64_t DNSLookup::kDefaultWait = 1; // ms
|
const int64_t DNSLookup::kDefaultWait = 1; // ms
|
||||||
|
Loading…
Reference in New Issue
Block a user