Fix "WSAStringToAddress was not declared in this scope" on Cygwin (Issue 322)
parent
93a6758fd9
commit
0e82232d1d
|
|
@ -60,8 +60,8 @@ const int SOCKET_EWOULDBLOCK = EWOULDBLOCK;
|
|||
|
||||
#define MAX_ADDRSTRLEN (INET6_ADDRSTRLEN > INET_ADDRSTRLEN ? INET6_ADDRSTRLEN : INET_ADDRSTRLEN)
|
||||
|
||||
#if defined(CRYPTOPP_WIN32_AVAILABLE)
|
||||
// http://stackoverflow.com/a/20816961
|
||||
// Also see http://stackoverflow.com/a/20816961 and http://github.com/weidai11/cryptopp/issues/322
|
||||
#if defined(USE_WINDOWS_STYLE_SOCKETS)
|
||||
int inet_pton(int af, const char *src, void *dst)
|
||||
{
|
||||
#if CRYPTOPP_MSC_VERSION
|
||||
|
|
|
|||
Loading…
Reference in New Issue