浏览代码

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