mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1023941 followup: Fix bustage on builds that use Win7 SDK
--HG-- extra : rebase_source : 7257820a00fa9ac921f61194855f3fd3dcb09fa1
This commit is contained in:
parent
a76130c172
commit
1f6a47fd69
@ -92,7 +92,7 @@ PatchModuleImports(HMODULE module, PIMAGE_NT_HEADERS headers)
|
||||
RVAPtr<IMAGE_THUNK_DATA> thunk(module, descriptor->OriginalFirstThunk);
|
||||
for (; thunk->u1.AddressOfData; ++thunk) {
|
||||
RVAPtr<IMAGE_IMPORT_BY_NAME> import(module, thunk->u1.AddressOfData);
|
||||
if (!strcmp(import->Name, "GetLogicalProcessorInformation")) {
|
||||
if (!strcmp((char*)import->Name, "GetLogicalProcessorInformation")) {
|
||||
memcpy(import->Name, "DebugBreak", sizeof("DebugBreak"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user