From ed060c162054affeb91e6f00fa8b0dc5e1e9ca7c Mon Sep 17 00:00:00 2001 From: wrowe Date: Tue, 19 Mar 2019 18:10:46 +0000 Subject: Replace the link-time pragma from r1839494 with APR_DECLARE_LATE_DLL_FUNC resolution of if_indextoname and if_nametoindex. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1855855 13f79535-47bb-0310-9956-ffa450edef68 --- misc/win32/misc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'misc') 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) { -- cgit v1.2.1