am 7c460451: Merge "Fix SOCK_* flag definitions"

* commit '7c4604518bcd27e27fb305388188275f49dea468':
  Fix SOCK_* flag definitions
This commit is contained in:
Greg Hackmann 2015-09-19 19:52:09 +00:00 committed by Android Git Automerger
commit a4ab398c61
1 changed files with 4 additions and 8 deletions

View File

@ -50,19 +50,15 @@ struct timespec;
#ifdef __mips__
#define SOCK_DGRAM 1
#define SOCK_STREAM 2
#else
#define SOCK_STREAM 1
#define SOCK_DGRAM 2
#endif
#define SOCK_RAW 3
#define SOCK_RDM 4
#define SOCK_SEQPACKET 5
#define SOCK_DCCP 6
#define SOCK_PACKET 10
#else
#define SOCK_STREAM 1
#define SOCK_DGRAM 2
#define SOCK_RAW 3
#define SOCK_RDM 4
#define SOCK_SEQPACKET 5
#define SOCK_PACKET 10
#endif
#define SOCK_CLOEXEC O_CLOEXEC
#define SOCK_NONBLOCK O_NONBLOCK