- fixes compilation issues.

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1031 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Raphael Coeffic 19 years ago
parent 17dbcae046
commit 0d6b0c2204

@ -582,8 +582,10 @@ bool brpc_sendto(int sockfd, brpc_addr_t *dest, brpc_t *msg, brpc_tv_t tout)
if ((sent = sendto(sockfd, pos, still, MSG_DONTWAIT
#ifdef MSG_NOSIGNAL
|MSG_NOSIGNAL
#elseifdef MSG_NOSIGPIPE
#else
#ifdef MSG_NOSIGPIPE
|MSG_NOSIGPIPE
#endif
#endif
, saddr, saddrlen)) < 0) {
@ -685,8 +687,10 @@ brpc_t *brpc_recvfrom(int sockfd, brpc_addr_t *src, brpc_tv_t tout)
MSG_DONTWAIT
#ifdef MSG_NOSIGNAL
|MSG_NOSIGNAL
#elseifdef MSG_NOSIGPIPE
#else
#ifdef MSG_NOSIGPIPE
|MSG_NOSIGPIPE
#endif
#endif
, saddr, addrlen))) {

Loading…
Cancel
Save