Repository navigation
Conversation
This modifies the Visual Studio templates to add the new `iphlpapi` dependency on the libcurl build. This should fix the build of curl with Visual Studio or MSBuild.
|
I'm not too sure about the very old Visual Studio versions. The library is only needed when targeting Windows Vista and later, and IIRC the first Visual Studio version able to target Windows Vista was 2005. I haven't found out what Windows versions ship Iphlpapi.dll, but Windows 98, the lowest version VS 2005 can target, should have it. So it should hopefully be safe to add it to the VS 2005 and later projects. |
|
Windows XP is the oldest Windows to have iphlpapi support. @bagder mentioned that he believed that breaking older than XP was acceptable (since the use of the IP effectively disables those builds without changes). |
|
Microsoft docs say that some functions are even available with Windows 98:
|
|
Yes, some of the APIs like that (though not |
|
Can we close this PR @compnerd given that we now link to if_nametoindex dynamically? |
|
Yeah, this should no longer be needed with that. |
This modifies the Visual Studio templates to add the new
iphlpapidependency on the libcurl build. This should fix the build of curl with
Visual Studio or MSBuild.