xiaoxiang781216 commented on code in PR #15090: URL: https://github.com/apache/nuttx/pull/15090#discussion_r1875970095
########## include/nuttx/net/netconfig.h: ########## @@ -98,9 +98,9 @@ # endif #endif -#if defined(HAVE_PFINET_SOCKETS) +#if defined(HAVE_PFINET_SOCKETS) || (defined(CONFIG_NET_USRSOCK) && defined(CONFIG_NET_IPv4)) Review Comment: change line 90-91 ########## include/nuttx/net/netconfig.h: ########## @@ -98,9 +98,9 @@ # endif #endif -#if defined(HAVE_PFINET_SOCKETS) +#if defined(HAVE_PFINET_SOCKETS) || (defined(CONFIG_NET_USRSOCK) && defined(CONFIG_NET_IPv4)) # define NET_SOCK_FAMILY AF_INET -#elif defined(HAVE_PFINET6_SOCKETS) +#elif defined(HAVE_PFINET6_SOCKETS) || (defined(CONFIG_NET_USRSOCK) && defined(CONFIG_NET_IPv6)) Review Comment: change line 95-96 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
