Skip to content
Snippets Groups Projects
Commit 7154fc09 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

syscall/: Fix some backward conditional compilation

parent 91537a77
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment