Removing alloca compat include.

This commit is contained in:
Бранимир Караџић
2024-12-21 19:24:22 -08:00
parent 7dc7dfc380
commit 61cc316669
15 changed files with 16 additions and 655 deletions

View File

@@ -256,7 +256,7 @@ namespace bx
{
uint32_t length = (uint32_t)strLen(_name)+1;
uint32_t size = length*sizeof(wchar_t);
wchar_t* name = (wchar_t*)alloca(size);
wchar_t* name = (wchar_t*)BX_STACK_ALLOC(size);
mbstowcs(name, _name, size-2);
SetThreadDescription(ti->m_handle, name);
}