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
This commit is contained in:
nobu 2015-03-23 06:44:44 +00:00
parent f5b96e594c
commit d503d6c7ae

View File

@ -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));