summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorguo <[email protected]>2021-10-26 09:37:43 +0800
committerGitHub <[email protected]>2021-10-26 09:37:43 +0800
commit50bb6e33d13237f71812e81a6a13ba5ba0693c8f (patch)
treead7924c4e07a3748b1b83fbe57d8f7231f7635a4 /include
parentc8ee4cc67dd1815d1b0ead1bcd24156da6ab87de (diff)
parentf7548b934e210ea66e2734c3c6abbddcd1605f11 (diff)
Merge pull request #5212 from mysterywolf/posix
[posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folder
Diffstat (limited to 'include')
-rw-r--r--include/rtdebug.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/rtdebug.h b/include/rtdebug.h
index 8c7d450ad4..c170d148c1 100644
--- a/include/rtdebug.h
+++ b/include/rtdebug.h
@@ -17,18 +17,7 @@
#if !defined(RT_USING_DFS) || !defined(RT_USING_DFS_DEVFS)
#error "POSIX poll/select, stdin need file system(RT_USING_DFS) and device file system(RT_USING_DFS_DEVFS)"
#endif
-
-#if !defined(RT_USING_LIBC)
-#error "POSIX layer need standard C library(RT_USING_LIBC)"
-#endif
-
-#endif
-
-#ifdef RT_USING_POSIX_TERMIOS
-#if !defined(RT_USING_POSIX)
-#error "termios need POSIX layer(RT_USING_POSIX)"
-#endif
-#endif
+#endif /* RT_USING_POSIX */
/* Using this macro to control all kernel debug features. */
#ifdef RT_DEBUG