mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Fix some backward conditional compilation
This commit is contained in:
@@ -315,7 +315,6 @@
|
|||||||
# else
|
# else
|
||||||
# define __SYS_fs_fdopen (__SYS_mkfifo2+0)
|
# define __SYS_fs_fdopen (__SYS_mkfifo2+0)
|
||||||
# endif
|
# endif
|
||||||
# endif
|
|
||||||
|
|
||||||
# if CONFIG_NFILE_STREAMS > 0
|
# if CONFIG_NFILE_STREAMS > 0
|
||||||
# define SYS_fs_fdopen (__SYS_fs_fdopen+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)
|
SYSCALL_LOOKUP(telldir, 1, STUB_telldir)
|
||||||
|
|
||||||
# if defined(CONFIG_PIPES) && ONFIG_DEV_PIPE_SIZE > 0
|
# if defined(CONFIG_PIPES) && ONFIG_DEV_PIPE_SIZE > 0
|
||||||
SYSCALL_LOOKUP(mkfifo2, 3, STUB_mkfifo2)
|
SYSCALL_LOOKUP(pipe2, 2, STUB_pipe2)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if defined(CONFIG_PIPES) && ONFIG_DEV_FIFO_SIZE > 0
|
# if defined(CONFIG_PIPES) && ONFIG_DEV_FIFO_SIZE > 0
|
||||||
SYSCALL_LOOKUP(pipe2, 2, STUB_pipe2)
|
SYSCALL_LOOKUP(mkfifo2, 3, STUB_mkfifo2)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if CONFIG_NFILE_STREAMS > 0
|
# 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_statfs(int nbr, uintptr_t parm1, uintptr_t parm2);
|
||||||
uintptr_t STUB_telldir(int nbr, uintptr_t parm1);
|
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 STUB_mkfifo2(int nbr, uintptr_t parm1, uintptr_t parm2,
|
||||||
uintptr_t parm3);
|
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 STUB_fs_fdopen(int nbr, uintptr_t parm1, uintptr_t parm2,
|
||||||
uintptr_t parm3);
|
uintptr_t parm3);
|
||||||
|
|||||||
Reference in New Issue
Block a user