From 0d6b0c2204d65325ee2650ee03d90af42f8890d4 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Sat, 28 Jun 2008 16:58:20 +0000 Subject: [PATCH] - fixes compilation issues. git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1031 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/plug-in/binrpcctrl/libbinrpc/src/net.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/plug-in/binrpcctrl/libbinrpc/src/net.c b/core/plug-in/binrpcctrl/libbinrpc/src/net.c index bbbadd03..6c651814 100644 --- a/core/plug-in/binrpcctrl/libbinrpc/src/net.c +++ b/core/plug-in/binrpcctrl/libbinrpc/src/net.c @@ -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))) {