From f18ebd2ee612112f3f5c4c4a92fe6e508e9c07e2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 13 Apr 2006 13:03:29 +0000 Subject: 2006-04-13 Joel Sherrill PR 949/networking * libnetworking/sys/socket.h: GNU/Linux is wrong in making MSG_DONTWAIT public. It is strictly BSD and not SUSV. See http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html for clarification. --- cpukit/libnetworking/sys/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/libnetworking/sys/socket.h b/cpukit/libnetworking/sys/socket.h index 0f54cae366..10894425cc 100644 --- a/cpukit/libnetworking/sys/socket.h +++ b/cpukit/libnetworking/sys/socket.h @@ -317,8 +317,8 @@ struct msghdr { #define MSG_TRUNC 0x10 /* data discarded before delivery */ #define MSG_CTRUNC 0x20 /* control data lost before delivery */ #define MSG_WAITALL 0x40 /* wait for full request or error */ -#define MSG_DONTWAIT 0x80 /* this message should be nonblocking */ #if __BSD_VISIBLE +#define MSG_DONTWAIT 0x80 /* this message should be nonblocking */ #define MSG_EOF 0x100 /* data completes connection */ #define MSG_COMPAT 0x8000 /* used in sendit() */ #endif -- cgit v1.2.3