mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
syscall/: Fix some backward conditional compilation
This commit is contained in:
@@ -302,7 +302,7 @@
|
||||
# else
|
||||
# define __SYS_termios __SYS_poll
|
||||
# endif
|
||||
# ifndef CONFIG_SERIAL_TERMIOS
|
||||
# ifdef CONFIG_SERIAL_TERMIOS
|
||||
# define SYS_tcdrain __SYS_termios
|
||||
# define __SYS_boardctl (__SYS_termios+1)
|
||||
# else
|
||||
|
||||
@@ -211,7 +211,7 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert)
|
||||
SYSCALL_LOOKUP(poll, 3, STUB_poll)
|
||||
SYSCALL_LOOKUP(select, 5, STUB_select)
|
||||
# endif
|
||||
# ifndef CONFIG_SERIAL_TERMIOS
|
||||
# ifdef CONFIG_SERIAL_TERMIOS
|
||||
SYSCALL_LOOKUP(tcdrain, 1, STUB_tcdrain)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user