summaryrefslogtreecommitdiff
path: root/examples/libc
diff options
context:
space:
mode:
author192.168.1.134 <[email protected]>2021-12-09 19:18:24 +0800
committer192.168.1.134 <[email protected]>2021-12-09 19:18:24 +0800
commit6378f95f00fd51410d2715da55d728d4a40494de (patch)
treebb46a565875d538189e1c1dfc9b1cfddf6862a92 /examples/libc
parentd6b05287bbeaf9369546009e5af445f350b97fe9 (diff)
parent462f093cbd7531098de3b7aadb5f8d5f1b99b4a9 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'examples/libc')
-rw-r--r--examples/libc/termios_test.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/libc/termios_test.c b/examples/libc/termios_test.c
index 855bc82b96..520fca6380 100644
--- a/examples/libc/termios_test.c
+++ b/examples/libc/termios_test.c
@@ -14,18 +14,6 @@
#include <string.h>
#include <sys/time.h>
-#if defined (RT_USING_POSIX)
- #include <dfs_posix.h>
- #include <sys/select.h>
- #if defined (RT_USING_POSIX_TERMIOS)
- #include <termios.h>
- #else
- #error "TERMIOS need RT_USING_POSIX_TERMIOS"
- #endif
-#else
- #error "POSIX poll/select need RT_USING_POSIX"
-#endif
-
#define JOINT(x,y) x##y
#define B(x) JOINT(B,x)
#define Default_baud_rate 115200