add check for inet_pton, nudge minimum win32 compat to 0x0501
This commit is contained in:
@@ -7,4 +7,13 @@
|
||||
#include_next <arpa/inet.h>
|
||||
#else
|
||||
#include <win32netcompat.h>
|
||||
|
||||
#ifndef AI_ADDRCONFIG
|
||||
#define AI_ADDRCONFIG 0x00000400
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_INET_PTON
|
||||
int inet_pton(int af, const char * restrict src, void * restrict dst);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user