syscall/: Fix some backward conditional compilation
This commit is contained in:
parent
91537a7722
commit
7154fc09ff
@ -302,7 +302,7 @@
|
|||||||
# else
|
# else
|
||||||
# define __SYS_termios __SYS_poll
|
# define __SYS_termios __SYS_poll
|
||||||
# endif
|
# endif
|
||||||
# ifndef CONFIG_SERIAL_TERMIOS
|
# ifdef CONFIG_SERIAL_TERMIOS
|
||||||
# define SYS_tcdrain __SYS_termios
|
# define SYS_tcdrain __SYS_termios
|
||||||
# define __SYS_boardctl (__SYS_termios+1)
|
# define __SYS_boardctl (__SYS_termios+1)
|
||||||
# else
|
# else
|
||||||
|
@ -211,7 +211,7 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert)
|
|||||||
SYSCALL_LOOKUP(poll, 3, STUB_poll)
|
SYSCALL_LOOKUP(poll, 3, STUB_poll)
|
||||||
SYSCALL_LOOKUP(select, 5, STUB_select)
|
SYSCALL_LOOKUP(select, 5, STUB_select)
|
||||||
# endif
|
# endif
|
||||||
# ifndef CONFIG_SERIAL_TERMIOS
|
# ifdef CONFIG_SERIAL_TERMIOS
|
||||||
SYSCALL_LOOKUP(tcdrain, 1, STUB_tcdrain)
|
SYSCALL_LOOKUP(tcdrain, 1, STUB_tcdrain)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user