nshlib/: Fix some botched conditional compilation.

This commit is contained in:
Gregory Nutt 2017-11-02 17:13:49 -06:00
parent 20119c3647
commit 7556eb3814

View File

@ -658,11 +658,10 @@
# endif
#endif
#if defined(CONFIG_FS_PROCFS) || !defined(CONFIG_NSH_DISABLE_MOUNT)
#undef HAVE_MOUNT_LIST
#if defined(CONFIG_FS_PROCFS) && !defined(CONFIG_NSH_DISABLE_MOUNT) && \
!defined(CONFIG_FS_PROCFS_EXCLUDE_MOUNT)
# define HAVE_MOUNT_LIST 1
# if defined(CONFIG_FS_PROCFS_EXCLUDE_MOUNT)
# undefine HAVE_MOUNT_LIST
# endif
#endif
/* Suppress unused file utilities */