[Kernel] Add more setting checking for RT_USING_POSIX.
This commit is contained in:
parent
a8a7d60877
commit
e4beb9c0f7
|
@ -28,6 +28,15 @@
|
|||
#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_LWIP) && !defined(RT_USING_DFS_NET)
|
||||
#error "POSIX poll/select, stdin need file BSD socket API(RT_USING_DFS_NET)"
|
||||
#endif
|
||||
|
||||
#if !defined(RT_USING_LIBC)
|
||||
#error "POSIX layer need standard C library(RT_USING_LIBC)"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef RT_USING_POSIX_TERMIOS
|
||||
|
|
Loading…
Reference in New Issue