mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 14:16:05 +00:00
vcomp: Force debug info in critical sections.
This commit is contained in:
parent
139d624787
commit
c65d0a0770
|
@ -1712,7 +1712,7 @@ static CRITICAL_SECTION *alloc_critsect(void)
|
|||
ExitProcess(1);
|
||||
}
|
||||
|
||||
InitializeCriticalSection(critsect);
|
||||
InitializeCriticalSectionEx(critsect, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
|
||||
critsect->DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": critsect");
|
||||
return critsect;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue