about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/bits/socket.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-31 21:20:32 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-31 21:20:32 +0000
commit12bf4b4adea6fab952bf7b4e9bab173727b1a5b1 (patch)
treefb7ec185bd69f9d2b3c2e53b2ac58bcafb2ef30c /sysdeps/unix/sysv/linux/bits/socket.h
parent12264bd7fa8ba6103463c9ca12109a387eeaba37 (diff)
downloadglibc-12bf4b4adea6fab952bf7b4e9bab173727b1a5b1.tar.gz
glibc-12bf4b4adea6fab952bf7b4e9bab173727b1a5b1.tar.xz
glibc-12bf4b4adea6fab952bf7b4e9bab173727b1a5b1.zip
Update.
1998-03-31  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
	macros.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/socket.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index 91eec61d28..ddf1a64a2f 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -130,10 +130,15 @@ struct sockaddr
 enum
   {
     MSG_OOB		= 0x01,	/* Process out-of-band data.  */
+#define MSG_OOB		MSG_OOB
     MSG_PEEK		= 0x02,	/* Peek at incoming messages.  */
+#define MSG_PEEK	MSG_PEEK
     MSG_DONTROUTE	= 0x04,	/* Don't use local routing.  */
+#define MSG_DONTROUTE	MSG_DONTROUTE
     MSG_CTRUNC		= 0x08,	/* Control data lost before delivery.  */
+#define MSG_CTRUNC	MSG_CTRUNC
     MSG_PROXY		= 0x10	/* Supply or ask second address.  */
+#define MSG_PROXY	MSG_PROXY
   };