From 8b23716e9ace244a83f636cbafe6a51ed054af15 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 5 Oct 2014 06:02:37 -0600 Subject: Add definitions for SIGPOLL --- nuttx/include/signal.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nuttx/include/signal.h') 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 -- cgit v1.2.3