Grrr.. more errors in same conditional compilation

This commit is contained in:
Gregory Nutt 2016-07-20 15:34:53 -06:00
parent 3218862616
commit cf1d0e3222
2 changed files with 4 additions and 4 deletions

View file

@ -302,14 +302,14 @@
# define SYS_statfs (__SYS_filedesc+12)
# define SYS_telldir (__SYS_filedesc+13)
# if defined(CONFIG_PIPES) && ONFIG_DEV_PIPE_SIZE > 0
# if defined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0
# define SYS_pipe2 (__SYS_filedesc+14)
# define __SYS_mkfifo2 (__SYS_filedesc+15)
# else
# define __SYS_mkfifo2 (__SYS_filedesc+14)
# endif
# if defined(CONFIG_PIPES) && ONFIG_DEV_FIFO_SIZE > 0
# if defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0
# define SYS_mkfifo2 (__SYS_mkfifo2+0)
# define __SYS_fs_fdopen (__SYS_mkfifo2+1)
# else

View file

@ -218,11 +218,11 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert)
SYSCALL_LOOKUP(statfs, 2, STUB_statfs)
SYSCALL_LOOKUP(telldir, 1, STUB_telldir)
# if defined(CONFIG_PIPES) && ONFIG_DEV_PIPE_SIZE > 0
# if defined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0
SYSCALL_LOOKUP(pipe2, 2, STUB_pipe2)
# endif
# if defined(CONFIG_PIPES) && ONFIG_DEV_FIFO_SIZE > 0
# if defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0
SYSCALL_LOOKUP(mkfifo2, 3, STUB_mkfifo2)
# endif