syscall/: Fix some backward conditional compilation

This commit is contained in:
Gregory Nutt 2017-10-07 07:46:42 -06:00
parent 91537a7722
commit 7154fc09ff
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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