소스 검색

added missing O_NDELAY

Rich Felker 14 년 전
부모
커밋
f38c154be2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      include/bits/fcntl.h

+ 1 - 0
include/bits/fcntl.h

@@ -15,6 +15,7 @@
 #define O_CLOEXEC  02000000
 
 #ifdef _GNU_SOURCE
+#define O_NDELAY O_NONBLOCK
 #define O_ASYNC      020000
 #define O_DIRECT     040000
 #define O_NOATIME  01000000