summaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-05-28 22:07:33 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-05-29 07:19:20 +0100
commit09eef8af18c7cc1a20f132843880f60f692d76c8 (patch)
treed62fe94b2986af1108ca71329c73238a3f092d4b /lib/config-win32.h
parent5908009e318d070e5ba6765e47a96c61b100c273 (diff)
downloadcurl-09eef8af18c7cc1a20f132843880f60f692d76c8.tar.gz
url: Load if_nametoindex() dynamically from iphlpapi.dll on Windows
This fixes the static dependency on iphlpapi.lib and allows curl to build for targets prior to Windows Vista. This partially reverts 170bd047. Fixes #3960 Closes #3958
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 14bd084fe..90c105476 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -154,11 +154,6 @@
#define HAVE_WS2TCPIP_H 1
#endif
-/* Define if you have the <Iphlpapi.h> header file. */
-#ifndef __SALFORDC__
-#define HAVE_IPHLPAPI_H 1
-#endif
-
/* ---------------------------------------------------------------- */
/* OTHER HEADER INFO */
/* ---------------------------------------------------------------- */
@@ -611,11 +606,6 @@ Vista
# define HAVE_GETNAMEINFO 1
# endif
#endif
-#if defined(HAVE_IPHLPAPI_H)
- #if defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600)
- #define HAVE_IF_NAMETOINDEX 1
- #endif
-#endif
#if defined(__POCC__)
# ifndef _MSC_VER