summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-04-13 13:03:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-04-13 13:03:29 +0000
commitf18ebd2ee612112f3f5c4c4a92fe6e508e9c07e2 (patch)
tree4c970898c910cce38d18e29a50ff01cb4f23aa8c
parent2006-04-13 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-f18ebd2ee612112f3f5c4c4a92fe6e508e9c07e2.tar.bz2
2006-04-13 Joel Sherrill <joel@OARcorp.com>
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.
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/sys/socket.h2
1 files changed, 1 insertions, 1 deletions
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