From d503d6c7ae4151d7be878f817e9b5ab44a242ee9 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 23 Mar 2015 06:44:44 +0000 Subject: win32.c: fix DLL name * win32/win32.c (winnt_stat): fix DLL name to "kernel32". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/win32.c b/win32/win32.c index a8ef299cc5..73fd477edf 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -5094,7 +5094,7 @@ winnt_stat(const WCHAR *path, struct stati64 *st) if (get_final_path == (get_final_path_func)-1) { get_final_path = (get_final_path_func) - get_proc_address(NULL, "GetFinalPathNameByHandleW", NULL); + get_proc_address("kernel32", "GetFinalPathNameByHandleW", NULL); } memset(st, 0, sizeof(*st)); -- cgit v1.2.3