[vlc-devel] [3.0 PATCH 2/2] configure: Check for if_nametoindex in iphlpapi.h

Martin Storsjö martin at martin.st
Thu Apr 2 22:14:06 CEST 2020


On Thu, 2 Apr 2020, Steve Lhomme wrote:

> Looks OK, iphlpapi is available since Windows XP.
>
> What if the compiler doesn't support Werror-implicit-function-declaration ?

Then we probably wouldn't end up using the function at all...

One could make the test more robust by first checking for that, but it 
makes things a bit more messy. I just checked on one compiler I had lying 
around, and it's supported in GCC 4.5 at least, so shouldn't be much of an 
issue for the currently supported mingw compilers.

// Martin



More information about the vlc-devel mailing list