OSDN Git Service

Fix SOCK_* flag definitions
authorGreg Hackmann <ghackmann@google.com>
Wed, 26 Aug 2015 00:45:46 +0000 (17:45 -0700)
committerGreg Hackmann <ghackmann@google.com>
Fri, 18 Sep 2015 20:37:53 +0000 (13:37 -0700)
commitd75abb9614b04c3da3104099752726f9d1c6d8c7
treee3e64f1300f96712b7cedf4a61e1299a48486111
parentcd0ed2f174d9015da5ae7206bc4c5190cd0bb51e
Fix SOCK_* flag definitions

MIPS and the rest of the world only disagree on the first two SOCK_*
constants, so restructure the #ifdef accordingly.

As a deliberate side effect, this fixes SOCK_DCCP being missing on
non-MIPS platforms.

Change-Id: I2267008f1121a7eebe1ed9097afab6e612bce7f0
Signed-off-by: Greg Hackmann <ghackmann@google.com>
libc/include/sys/socket.h