Re: [PR] net: Simplify getting value for different domain [nuttx]

2023-11-03 Thread via GitHub
xiaoxiang781216 merged PR #0: URL: https://github.com/apache/nuttx/pull/0 -- 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: commits-unsubscr...@nu

[PR] net: Simplify getting value for different domain [nuttx]

2023-11-01 Thread via GitHub
wengzhe opened a new pull request, #0: URL: https://github.com/apache/nuttx/pull/0 ## Summary Replace ```c #if defined(CONFIG_NET_IPv4) && defined(CONFIG_NET_IPv6) ((domain) == PF_INET ? A : B) #elif defined(CONFIG_NET_IPv4) A #else B #endif ``` Into