early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/libiconv/0004-ModuleFileName.patch
vendored
Executable file
13
externals/vcpkg/ports/libiconv/0004-ModuleFileName.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/lib/relocatable.c b/lib/relocatable.c
|
||||
index 89b6c27..1561894 100644
|
||||
--- a/lib/relocatable.c
|
||||
+++ b/lib/relocatable.c
|
||||
@@ -329,7 +329,7 @@ DllMain (HINSTANCE module_handle, DWORD event, LPVOID reserved)
|
||||
/* The DLL is being loaded into an application's address range. */
|
||||
static char location[MAX_PATH];
|
||||
|
||||
- if (!GetModuleFileName (module_handle, location, sizeof (location)))
|
||||
+ if (!GetModuleFileNameA (module_handle, location, sizeof (location)))
|
||||
/* Shouldn't happen. */
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user