]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(MSG_*): Also define as macros.
authorUlrich Drepper <drepper@redhat.com>
Tue, 31 Mar 1998 21:14:23 +0000 (21:14 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 31 Mar 1998 21:14:23 +0000 (21:14 +0000)
sysdeps/unix/sysv/linux/socketbits.h

index 30e0ff2e724e07f5c0733ea85d8323f45baa5efa..1813bdecf898a0e3712f08ff6538fdfc618c3fa4 100644 (file)
@@ -134,10 +134,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
   };