libstrat: account for sockaddr as well in windows target
This commit is contained in:
1 parent
90cd78a3a3
commit
2fec688983
1 file changed
+2
-1
@@ -169,10 +169,11 @@ namespace ams::socket {
|
|||||||
int ai_protocol;
|
int ai_protocol;
|
||||||
#if defined(ATMOSPHERE_OS_WINDOWS)
|
#if defined(ATMOSPHERE_OS_WINDOWS)
|
||||||
int ai_addrlen;
|
int ai_addrlen;
|
||||||
|
void *ai_addr;
|
||||||
#else
|
#else
|
||||||
socklen_t ai_addrlen;
|
socklen_t ai_addrlen;
|
||||||
#endif
|
|
||||||
struct sockaddr *ai_addr;
|
struct sockaddr *ai_addr;
|
||||||
|
#endif
|
||||||
struct ares_addrinfo_node *ai_next;
|
struct ares_addrinfo_node *ai_next;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user