mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-27 12:20:54 +00:00
apps/: Remove/replace all conditional logic based on CONFIG_NSOCKET_DESCRIPTORS == 0. That value is always greater than zero now. In places just replace with #ifdef CONFIG_NET.
This commit is contained in:
parent
a14f3fbffb
commit
b2f46360de
32 changed files with 73 additions and 77 deletions
|
|
@ -58,14 +58,13 @@
|
|||
* poll/select support. This kind of looks like overkill.
|
||||
*
|
||||
* CONFIG_NET - Network support must be enabled
|
||||
* CONFIG_NSOCKET_DESCRIPTORS - Socket descriptors must be allocated
|
||||
* CONFIG_NET_TCP - Only support on TCP (because read-ahead
|
||||
* buffering s not yet support for UDP)
|
||||
* CONFIG_NET_TCP_READAHEAD - TCP/IP read-ahead buffering must be enabled
|
||||
*/
|
||||
|
||||
|
||||
#if !defined(CONFIG_NET) || CONFIG_NSOCKET_DESCRIPTORS <= 0
|
||||
#ifndef CONFIG_NET
|
||||
# error Network socket support not enabled
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue