summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorheyuanjie87 <[email protected]>2023-06-19 11:33:52 +0800
committerMan, Jianting (Meco) <[email protected]>2023-06-19 00:38:36 -0400
commit0503d1e27f6d6302320d7b6ccc185daeb67f9667 (patch)
treef513baad7f01f2f98505390d9953d3613e349ecc /components
parent8335c5add2b311d15e6529d1193a6601e0515239 (diff)
[libc/termios]修改oflags定义与musl一致
Diffstat (limited to 'components')
-rw-r--r--components/libc/posix/io/termios/termios.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/posix/io/termios/termios.h b/components/libc/posix/io/termios/termios.h
index 8f0275d118..4a504daa7d 100644
--- a/components/libc/posix/io/termios/termios.h
+++ b/components/libc/posix/io/termios/termios.h
@@ -74,8 +74,8 @@ struct termios {
/* c_oflag bits */
#define OPOST 0000001
-#define ONLCR 0000002
-#define OLCUC 0000004
+#define OLCUC 0000002
+#define ONLCR 0000004
#define OCRNL 0000010
#define ONOCR 0000020