瀏覽代碼

[libc/termios]修改oflags定义与musl一致

heyuanjie87 1 年之前
父節點
當前提交
0503d1e27f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      components/libc/posix/io/termios/termios.h

+ 2 - 2
components/libc/posix/io/termios/termios.h

@@ -74,8 +74,8 @@ struct termios {
 
 
 /* c_oflag bits */
 /* c_oflag bits */
 #define OPOST  0000001
 #define OPOST  0000001
-#define ONLCR  0000002
-#define OLCUC  0000004
+#define OLCUC  0000002
+#define ONLCR  0000004
 
 
 #define OCRNL  0000010
 #define OCRNL  0000010
 #define ONOCR  0000020
 #define ONOCR  0000020