summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-30 12:08:10 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-30 12:08:10 +0000
commit206b563a0ca5d2139f2ebacdc8eeca15bb0fb3ae (patch)
treeeb38ee8603d190dd8ec5c5062bfda68c98e06359
parent61a667b1752d73003e9dfa0675938303d4b7cab4 (diff)
Doh! A silly typo broke select...
-Erik
-rw-r--r--libc/sysdeps/linux/common/syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 0f0da975d..72b938c10 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -791,7 +791,7 @@ _syscall2(int, setgroups, size_t, size, const gid_t *, list);
//#define __NR_select 82
#ifdef L_select
//Used as a fallback if _newselect isn't available...
-#ifndef _NR__newselect
+#ifndef __NR__newselect
#include <unistd.h>
extern int select(int n, fd_set *readfds, fd_set *writefds,
fd_set *exceptfds, struct timeval *timeout);
@@ -1274,7 +1274,7 @@ _syscall3(int, getdents, int, fd, char *, dirp, size_t, count);
//#define __NR__newselect 142
#ifdef L__newselect
//Used in preference to select when available...
-#ifdef _NR__newselect
+#ifdef __NR__newselect
#include <unistd.h>
extern int _newselect(int n, fd_set *readfds, fd_set *writefds,
fd_set *exceptfds, struct timeval *timeout);