msys2: fix build (#3818)

* cmake: fix mingw-w64 build

* time.cpp: fix build with Clang on Windows

* tls.h: include malloc.h for alloca
This commit is contained in:
oltolm
2025-11-22 09:32:29 +01:00
committed by GitHub
parent 56109a1331
commit 4922d526fe
4 changed files with 35 additions and 11 deletions

View File

@@ -5,6 +5,9 @@
#include <cstring>
#include "common/types.h"
#ifdef _WIN32
#include <malloc.h>
#endif
namespace Xbyak {
class CodeGenerator;