Merge branch 'sg/travis-gcc-4.8'
[gitweb.git] / compat / poll / poll.c
index 8b07edb0feca434cce2ff7766c30d7529febf996..0e95dd493c949122b22036bf5d205c413d4a0421 100644 (file)
@@ -150,7 +150,7 @@ win32_compute_revents (HANDLE h, int *p_sought)
       if (!once_only)
        {
          NtQueryInformationFile = (PNtQueryInformationFile)(void (*)(void))
-           GetProcAddress (GetModuleHandle ("ntdll.dll"),
+           GetProcAddress (GetModuleHandleW (L"ntdll.dll"),
                            "NtQueryInformationFile");
          once_only = TRUE;
        }