windows: Don't redeclare inet_ntop/pton if already defined
This commit is contained in:
parent
1f3bf4175d
commit
8120b3c339
|
@ -115,12 +115,16 @@ char* strndup(const char *s, size_t n);
|
|||
/**
|
||||
* Provided via ws2_32
|
||||
*/
|
||||
#ifndef InetNtop
|
||||
const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Provided via ws2_32
|
||||
*/
|
||||
#ifndef InetPton
|
||||
int inet_pton(int af, const char *src, void *dst);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Provided by printf hook backend
|
||||
|
|
Loading…
Reference in New Issue