mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-20 05:12:16 +00:00
Fix "WSAStringToAddress was not declared in this scope" on Cygwin (Issue 322)
This commit is contained in:
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…
x
Reference in New Issue
Block a user