summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2019-03-19 18:10:46 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2019-03-19 18:10:46 +0000
commit4a72cb21e0b19ca87b003e0dcb9168b3a62ae4b3 (patch)
treebefe94eb464762aa0e7050fdf2f4e36cc6ff41fb /misc
parentf88ed2559a0f85c893144388f4451127491e7acd (diff)
downloadapr-4a72cb21e0b19ca87b003e0dcb9168b3a62ae4b3.tar.gz
Replace the link-time pragma from r1839494 with APR_DECLARE_LATE_DLL_FUNC
resolution of if_indextoname and if_nametoindex. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1855855 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r--misc/win32/misc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/win32/misc.c b/misc/win32/misc.c
index 337739ca1..7a80f4fe9 100644
--- a/misc/win32/misc.c
+++ b/misc/win32/misc.c
@@ -139,9 +139,11 @@ apr_status_t apr_get_oslevel(apr_oslevel_e *level)
*/
static const char* const lateDllName[DLL_defined] = {
- "kernel32", "advapi32", "mswsock", "ws2_32", "shell32", "ntdll.dll" };
+ "kernel32", "advapi32", "mswsock", "ws2_32", "shell32", "ntdll.dll",
+ "Iphplapi" };
static HMODULE lateDllHandle[DLL_defined] = {
- NULL, NULL, NULL, NULL, NULL, NULL };
+ NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL };
FARPROC apr_load_dll_func(apr_dlltoken_e fnLib, char* fnName, int ordinal)
{