diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2019-03-19 18:10:46 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2019-03-19 18:10:46 +0000 |
commit | ed060c162054affeb91e6f00fa8b0dc5e1e9ca7c (patch) | |
tree | befe94eb464762aa0e7050fdf2f4e36cc6ff41fb /misc | |
parent | bf1f0642ac5a7e2d3984edf03f944513173e471a (diff) | |
download | libapr-ed060c162054affeb91e6f00fa8b0dc5e1e9ca7c.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: http://svn.apache.org/repos/asf/apr/apr/trunk@1855855 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r-- | misc/win32/misc.c | 6 |
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) { |