summaryrefslogtreecommitdiff
path: root/nuttx/include/signal.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-10-05 06:02:37 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-10-05 06:02:37 -0600
commit8b23716e9ace244a83f636cbafe6a51ed054af15 (patch)
treeba5f306422f74af62addd7ef3fb22a42756cb3bd /nuttx/include/signal.h
parent9b1e6e97b3ce140af2a05cd33be58b19237c1364 (diff)
downloadpx4-nuttx-8b23716e9ace244a83f636cbafe6a51ed054af15.tar.gz
px4-nuttx-8b23716e9ace244a83f636cbafe6a51ed054af15.tar.bz2
px4-nuttx-8b23716e9ace244a83f636cbafe6a51ed054af15.zip
Add definitions for SIGPOLL
Diffstat (limited to 'nuttx/include/signal.h')
-rw-r--r--nuttx/include/signal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/include/signal.h b/nuttx/include/signal.h
index 271328da7..5d3c4654b 100644
--- a/nuttx/include/signal.h
+++ b/nuttx/include/signal.h
@@ -101,6 +101,15 @@
# endif
#endif
+#ifdef CONFIG_LIBC_AIO
+# ifndef CONFIG_SIG_POLL
+# define SIGPOLL 5 /* Sent when an asynchronous I/O event occurs */
+# else
+# define SIGPOLL CONFIG_SIG_POLL
+# endif
+#endif
+#endif
+
/* The following are non-standard signal definitions */
#ifndef CONFIG_DISABLE_PTHREAD