diff options
| author | guo <[email protected]> | 2021-11-29 10:51:43 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-29 10:51:43 +0800 |
| commit | 4e9744c0acd093efd6fb1da1216d918521d14015 (patch) | |
| tree | 084b7a54eebb1ad0574111a429d24b51bc9f6271 /examples/libc | |
| parent | 3bc5ffb495a34ee6235e493375770ef2bb4457d3 (diff) | |
| parent | 7c789d4b11c13e45ab1d2a858c68dabb022eb07c (diff) | |
Merge pull request #5302 from mysterywolf/posix
[PSE分支] 新增 RT_USING_POSIX_DEVIO
Diffstat (limited to 'examples/libc')
| -rw-r--r-- | examples/libc/termios_test.c | 12 |
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 |
