diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-07-19 13:50:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-07-19 13:50:08 +0000 |
commit | 85f8218d49dfea1bea70633d38cede541143a1df (patch) | |
tree | 05dbb3d914eaf7434bd20987200ba57e3aafaa24 /nuttx/netutils | |
parent | 17553d10657c2a395a2ab1f7d6629453fc5ed342 (diff) | |
download | px4-nuttx-85f8218d49dfea1bea70633d38cede541143a1df.tar.gz px4-nuttx-85f8218d49dfea1bea70633d38cede541143a1df.tar.bz2 px4-nuttx-85f8218d49dfea1bea70633d38cede541143a1df.zip |
Add non-blocking capability for TCP sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1996 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils')
-rw-r--r-- | nuttx/netutils/thttpd/config.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/nuttx/netutils/thttpd/config.h b/nuttx/netutils/thttpd/config.h index c40510918..621356e38 100644 --- a/nuttx/netutils/thttpd/config.h +++ b/nuttx/netutils/thttpd/config.h @@ -44,15 +44,10 @@ #undef CONFIG_THTTPD #if defined(CONFIG_NET) && defined(CONFIG_NET_TCP) && \ - defined(CONFIG_NET_TCPBACKLOG) && !defined(CONFIG_DISABLE_ENVIRONMENT) -# define CONFIG_THTTPD -#else -# warning "THTTPD not built because dependenciesnot selected in configuration" -#endif + defined(CONFIG_NET_TCPBACKLOG) && !defined(CONFIG_DISABLE_ENVIRONMENT) && \ + CONFIG_NET_NTCP_READAHEAD_BUFFERS > 0 -#if !defined(CONFIG_NET_NTCP_READAHEAD_BUFFERS) || CONFIG_NET_NTCP_READAHEAD_BUFFERS < 1 -# warning "CONFIG_NET_NTCP_READAHEAD_BUFFERS > 0 is recommended" -#endif +# define CONFIG_THTTPD 1 /* Check all THTTPD configuration settings. Complain on any that should have * been defined but were not. Supply some kind of reasonable value for all @@ -201,5 +196,9 @@ * referrers. */ +#else /* Dependencies not provided */ +# warning "THTTPD not built because dependencies not selected in configuration" +#endif /* Dependencies not provided */ + #endif /* __NETUTILS_THTTPD_VERSION_H */ |