summaryrefslogtreecommitdiff
path: root/examples/libc
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-11-24 09:14:46 -0500
committerMeco Man <[email protected]>2021-11-24 09:47:55 -0500
commit7c789d4b11c13e45ab1d2a858c68dabb022eb07c (patch)
tree084b7a54eebb1ad0574111a429d24b51bc9f6271 /examples/libc
parentbd80b7a4a15a2e97b13bbda69af8e909be544100 (diff)
revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO
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