mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
vcomp: Force debug info in critical sections.
This commit is contained in:
parent
139d624787
commit
c65d0a0770
1 changed files with 1 additions and 1 deletions
|
@ -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