windows: Fix compat define for sendto(2)
This commit is contained in:
1 parent
8c0a67f700
commit
993dd54c8d
1 file changed
+1
-1
@@ -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
|
* 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,
|
ssize_t windows_sendto(int sockfd, const void *buf, size_t len, int flags,
|
||||||
const struct sockaddr *dest_addr, socklen_t addrlen);
|
const struct sockaddr *dest_addr, socklen_t addrlen);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user