mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 18:28:25 +00:00
fs/aio/aio.h needs to disable itself is CONFIG_FS_AIO is not defined
This commit is contained in:
parent
a4d157bb2d
commit
91f5ecc347
2 changed files with 5 additions and 0 deletions
|
|
@ -584,6 +584,8 @@ CONFIG_USART4_2STOP=0
|
|||
# CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set
|
||||
CONFIG_FS_READABLE=y
|
||||
# CONFIG_FS_WRITABLE is not set
|
||||
# CONFIG_FS_NAMED_SEMAPHORES is not set
|
||||
CONFIG_FS_MQUEUE_MPATH="/var/mqueue"
|
||||
# CONFIG_FS_RAMMAP is not set
|
||||
# CONFIG_FS_FAT is not set
|
||||
# CONFIG_FS_NXFFS is not set
|
||||
|
|
|
|||
|
|
@ -49,6 +49,8 @@
|
|||
|
||||
#include <nuttx/wqueue.h>
|
||||
|
||||
#ifdef CONFIG_FS_AIO
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
|
@ -250,4 +252,5 @@ int aio_queue(FAR struct aio_container_s *aioc, worker_t worker);
|
|||
|
||||
int aio_signal(pid_t pid, FAR struct aiocb *aiocbp);
|
||||
|
||||
#endif /* CONFIG_FS_AIO */
|
||||
#endif /* __FS_AIO_AIO_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue