OSDN Git Service

Fix a TODO; we've had SOCK_CLOEXEC for a while now.
authorElliott Hughes <enh@google.com>
Thu, 7 Nov 2013 01:04:56 +0000 (17:04 -0800)
committerElliott Hughes <enh@google.com>
Thu, 7 Nov 2013 01:04:56 +0000 (17:04 -0800)
Change-Id: I4bc39b57f3c33441ead74127f576bf5a4e311566

libc/upstream-netbsd/netbsd-compat.h

index e33885e..f830f38 100644 (file)
@@ -24,9 +24,6 @@
 // TODO: update our <sys/cdefs.h> to support this properly.
 #define __type_fit(t, a) (0 == 0)
 
-// TODO: our 2.6 emulator kernels don't support SOCK_CLOEXEC yet, so we have to do without.
-#define SOCK_CLOEXEC 0
-
 #define _GNU_SOURCE
 
 // TODO: we don't yet have thread-safe environment variables.