configure: check if if_nametoindex is available on Windows
It may link with iphlpapi but be forbidden in UWP. This test relies on the fact that -Werror-implicit-function-declaration works in the compiler. And that's why it's done after it's enabled. It's only used for the --miface option to set the preferred multicast interface.
Showing with 27 additions and 0 deletions