kopia lustrzana https://github.com/Hamlib/Hamlib
Had to mess with _WIN32_WINNT to get inet_pton defined
So we change it to 0x0600 and then back to 0x0502 https://github.com/Hamlib/Hamlib/issues/298pull/345/head
rodzic
d27d84c44b
commit
0f97f33877
|
@ -61,7 +61,13 @@
|
|||
# include <sys/socket.h>
|
||||
# include <sys/ioctl.h>
|
||||
#elif HAVE_WS2TCPIP_H
|
||||
#undef _WIN32_WINNT
|
||||
// We need inet_pton to get defined and 0x0600 does it
|
||||
#define _WIN32_WINNT 0x0600
|
||||
# include <ws2tcpip.h>
|
||||
#undef _WIN32_WINNT
|
||||
// Then we'll go back to Server 2003
|
||||
#define _WIN32_WINNT 0x0502
|
||||
# if defined(HAVE_WSPIAPI_H)
|
||||
# include <wspiapi.h>
|
||||
# endif
|
||||
|
|
Ładowanie…
Reference in New Issue