mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
specify WSAAPI as return type too, needed for MSYS2-32bit
This commit is contained in:
parent
b879e0835b
commit
919f8c16d0
4 changed files with 7 additions and 9 deletions
|
@ -43,10 +43,10 @@
|
|||
#include <ws2tcpip.h>
|
||||
#endif // HAVE_WS2TCPIP_H
|
||||
#if !defined(HAVE_INET_NTOP)
|
||||
extern const char *inet_ntop(int, const void *, char *, size_t);
|
||||
extern const char* WSAAPI inet_ntop(int, const void *, char *, size_t);
|
||||
#endif
|
||||
#if !defined(HAVE_INET_NTOP)
|
||||
extern int inet_pton(int , const char *, void *);
|
||||
extern int WSAAPI inet_pton(int , const char *, void *);
|
||||
#endif
|
||||
#else /* !_WIN32 */
|
||||
#include <netdb.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue