Fix some backward conditional compilation
This commit is contained in:
parent
bfc664af49
commit
3218862616
@ -315,7 +315,6 @@
|
||||
# else
|
||||
# define __SYS_fs_fdopen (__SYS_mkfifo2+0)
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# if CONFIG_NFILE_STREAMS > 0
|
||||
# define SYS_fs_fdopen (__SYS_fs_fdopen+0)
|
||||
|
@ -219,11 +219,11 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert)
|
||||
SYSCALL_LOOKUP(telldir, 1, STUB_telldir)
|
||||
|
||||
# if defined(CONFIG_PIPES) && ONFIG_DEV_PIPE_SIZE > 0
|
||||
SYSCALL_LOOKUP(mkfifo2, 3, STUB_mkfifo2)
|
||||
SYSCALL_LOOKUP(pipe2, 2, STUB_pipe2)
|
||||
# endif
|
||||
|
||||
# if defined(CONFIG_PIPES) && ONFIG_DEV_FIFO_SIZE > 0
|
||||
SYSCALL_LOOKUP(pipe2, 2, STUB_pipe2)
|
||||
SYSCALL_LOOKUP(mkfifo2, 3, STUB_mkfifo2)
|
||||
# endif
|
||||
|
||||
# if CONFIG_NFILE_STREAMS > 0
|
||||
|
@ -228,9 +228,9 @@ uintptr_t STUB_stat(int nbr, uintptr_t parm1, uintptr_t parm2);
|
||||
uintptr_t STUB_statfs(int nbr, uintptr_t parm1, uintptr_t parm2);
|
||||
uintptr_t STUB_telldir(int nbr, uintptr_t parm1);
|
||||
|
||||
uintptr_t STUB_pipe2(int nbr, uintptr_t parm1, uintptr_t parm2);
|
||||
uintptr_t STUB_mkfifo2(int nbr, uintptr_t parm1, uintptr_t parm2,
|
||||
uintptr_t parm3);
|
||||
uintptr_t STUB_pipe2(int nbr, uintptr_t parm1, uintptr_t parm2);
|
||||
|
||||
uintptr_t STUB_fs_fdopen(int nbr, uintptr_t parm1, uintptr_t parm2,
|
||||
uintptr_t parm3);
|
||||
|
Loading…
Reference in New Issue
Block a user