소스 검색

poll.c: fix incorrect merge

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley 14 년 전
부모
커밋
ba3aaf137c
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      libc/sysdeps/linux/common/poll.c

+ 1 - 3
libc/sysdeps/linux/common/poll.c

@@ -27,11 +27,9 @@
 #define SINGLE_THREAD_P 1
 #endif
 
-#if defined __ASSUME_POLL_SYSCALL && defined __NR_poll
-
 libc_hidden_proto(poll)
 
-#ifdef __NR_poll
+#if defined __ASSUME_POLL_SYSCALL && defined __NR_poll
 
 #define __NR___syscall_poll __NR_poll
 static inline _syscall3(int, __syscall_poll, struct pollfd *, fds,