mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
network: Move USRSOCK specific code from from inet_sockif to usrsock_sockif
This commit is contained in:
committed by
Gregory Nutt
parent
00d8dd3912
commit
7dfb01dbce
+3
-4
@@ -60,15 +60,14 @@
|
||||
#undef HAVE_PFINET_SOCKETS
|
||||
#undef HAVE_PFINET6_SOCKETS
|
||||
|
||||
#if defined(CONFIG_NET_IPv4) || defined(CONFIG_NET_IPv6) || \
|
||||
defined(CONFIG_NET_USRSOCK)
|
||||
#if defined(CONFIG_NET_IPv4) || defined(CONFIG_NET_IPv6)
|
||||
# define HAVE_INET_SOCKETS
|
||||
|
||||
# if defined(CONFIG_NET_IPv4) || defined(CONFIG_NET_USRSOCK)
|
||||
# if defined(CONFIG_NET_IPv4)
|
||||
# define HAVE_PFINET_SOCKETS
|
||||
# endif
|
||||
|
||||
# if defined(CONFIG_NET_IPv6) || defined(CONFIG_NET_USRSOCK)
|
||||
# if defined(CONFIG_NET_IPv6)
|
||||
# define HAVE_PFINET6_SOCKETS
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user