diff options
| author | andretuta <andreviniciusmerlia@gmail.com> | 2026-11-24 00:53:14 -0300 |
|---|---|---|
| committer | andretuta <andreviniciusmerlia@gmail.com> | 2026-11-24 00:53:14 -0300 |
| commit | 9b59db02f974edc453bab4c2bf69e52f87447ebf (patch) | |
| tree | 20d377a3937b26b3a8a3d4a2c27dd4effc369c3b /runtime/shims/library_loader.cpp | |
| parent | f9e7e3e1bfa718eb4d8ca84fd1dbe617038d48d7 (diff) | |
ws2_offline: add offline loopback-only Winsock2 (ws2_32.dll) shim (RT-WS2-OFFLINE)
Diffstat (limited to 'runtime/shims/library_loader.cpp')
| -rw-r--r-- | runtime/shims/library_loader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/shims/library_loader.cpp b/runtime/shims/library_loader.cpp index 82dd75493..250fe0209 100644 --- a/runtime/shims/library_loader.cpp +++ b/runtime/shims/library_loader.cpp | |||
| @@ -266,7 +266,7 @@ FARPROC WINAPI get_proc_address(HMODULE module, LPCSTR name) { | |||
| 266 | SetLastError(ERROR_PROC_NOT_FOUND); | 266 | SetLastError(ERROR_PROC_NOT_FOUND); |
| 267 | return nullptr; | 267 | return nullptr; |
| 268 | } | 268 | } |
| 269 | if (module && !IS_INTRESOURCE(name)) { | 269 | if (module) { |
| 270 | const DWORD error = GetLastError(); | 270 | const DWORD error = GetLastError(); |
| 271 | const std::string dll = host_module_name(module); | 271 | const std::string dll = host_module_name(module); |
| 272 | void* shim = dll.empty() ? nullptr : find(dll, what); | 272 | void* shim = dll.empty() ? nullptr : find(dll, what); |