[uClibc-cvs] uClibc/libc/sysdeps/linux/common syscalls.c, 1.116, 1.117
Erik Andersen
andersen at uclibc.org
Wed Oct 22 19:43:12 UTC 2003
Update of /var/cvs/uClibc/libc/sysdeps/linux/common
In directory winder:/tmp/cvs-serv21370/libc/sysdeps/linux/common
Modified Files:
syscalls.c
Log Message:
Peter S. Mazinger pointed out that I missed a spot. I should
stop applying patches by hand...
Index: syscalls.c
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/syscalls.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -d -r1.116 -r1.117
--- syscalls.c 22 Oct 2003 09:52:24 -0000 1.116
+++ syscalls.c 22 Oct 2003 19:43:08 -0000 1.117
@@ -1721,13 +1721,15 @@
#endif
//#define __NR_poll 168
-#if defined(L_poll) && defined(__NR_poll)
+#ifdef L_poll
+#ifdef __NR_poll
#include <sys/poll.h>
_syscall3(int, poll, struct pollfd *, fds, unsigned long int, nfds, int, timeout);
#else
/* uClinux 2.0 doesn't have poll, emulate it using select */
#include "poll.c"
#endif
+#endif
//#define __NR_nfsservctl 169
//nfsservctl EXTRA nfsservctl i:ipp nfsservctl
More information about the uClibc-cvs
mailing list