mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 18:56:10 +08:00
Squashed commit of the following:
arch/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
sched/ audio/ crypto/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
Documentation/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
fs/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
graphics/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
net/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
drivers/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
include/, syscall/, wireless/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
configs/: Remove all references to CONFIG_DISABLE_POLL. Standard POSIX poll can no longer be disabled.
This commit is contained in:
@@ -289,15 +289,11 @@
|
||||
# define __SYS_poll (__SYS_descriptors + 6)
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_DISABLE_POLL
|
||||
# define SYS_poll __SYS_poll
|
||||
# define SYS_select (__SYS_poll + 1)
|
||||
# define SYS_ppoll (__SYS_poll + 2)
|
||||
# define SYS_pselect (__SYS_poll + 3)
|
||||
# define __SYS_ifindex (__SYS_poll + 4)
|
||||
#else
|
||||
# define __SYS_ifindex __SYS_poll
|
||||
#endif
|
||||
#define SYS_poll __SYS_poll
|
||||
#define SYS_select (__SYS_poll + 1)
|
||||
#define SYS_ppoll (__SYS_poll + 2)
|
||||
#define SYS_pselect (__SYS_poll + 3)
|
||||
#define __SYS_ifindex (__SYS_poll + 4)
|
||||
|
||||
#ifdef CONFIG_NETDEV_IFINDEX
|
||||
# define SYS_if_indextoname __SYS_ifindex
|
||||
|
||||
Reference in New Issue
Block a user