diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-16 22:05:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-16 22:05:28 +0000 |
commit | cb422303483b4cb1af4b9f024b4da010c159f18b (patch) | |
tree | 3caecfd0b065ad5873070a79be797b03ea25a24c /nuttx/fs/fs_poll.c | |
parent | eeb84bc3e196548c3c09bd049a648a19e2836f1d (diff) | |
download | px4-nuttx-cb422303483b4cb1af4b9f024b4da010c159f18b.tar.gz px4-nuttx-cb422303483b4cb1af4b9f024b4da010c159f18b.tar.bz2 px4-nuttx-cb422303483b4cb1af4b9f024b4da010c159f18b.zip |
Poll API may be disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1259 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_poll.c')
-rw-r--r-- | nuttx/fs/fs_poll.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/fs/fs_poll.c b/nuttx/fs/fs_poll.c index 2f585d818..a59cee5aa 100644 --- a/nuttx/fs/fs_poll.c +++ b/nuttx/fs/fs_poll.c @@ -51,6 +51,8 @@ #include "fs_internal.h" +#ifndef CONFIG_DISABLE_POLL + /**************************************************************************** * Definitions ****************************************************************************/ @@ -313,3 +315,5 @@ int poll(FAR struct pollfd *fds, nfds_t nfds, int timeout) return count; } +#endif /* CONFIG_DISABLE_POLL */ + |