windows: Fix compat define for sendto(2)

This commit is contained in:
Tobias Brunner
2023-03-21 16:33:03 +01:00
parent 8c0a67f700
commit 993dd54c8d
+1 -1
View File
@@ -366,7 +366,7 @@ ssize_t windows_send(int sockfd, const void *buf, size_t len, int flags);
/**
* recvfrom(2) with support for MSG_DONTWAIT
*/
#define sendto windows_send
#define sendto windows_sendto
ssize_t windows_sendto(int sockfd, const void *buf, size_t len, int flags,
const struct sockaddr *dest_addr, socklen_t addrlen);