diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-23 06:44:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-23 06:44:44 +0000 |
commit | d503d6c7ae4151d7be878f817e9b5ab44a242ee9 (patch) | |
tree | b7096da81e5a301f4296c15739db5821f99a6766 /win32 | |
parent | f5b96e594c769cf309b70fd7736caaf90372a3b6 (diff) | |
download | ruby-d503d6c7ae4151d7be878f817e9b5ab44a242ee9.tar.gz |
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
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |