The issue manifest itself in windows-on-arm build (`--target=aarch64-pc-windows-msvc`)
@@ -453,7 +453,7 @@ JPH_SUPPRESS_WARNINGS_STD_BEGIN
#include <functional>
#include <algorithm>
#include <cstdint>
-#ifdef JPH_COMPILER_MSVC
+#if defined(JPH_COMPILER_MSVC) || (defined(JPH_COMPILER_CLANG) && defined(_MSC_VER)) // MSVC or clang-cl
#include <malloc.h> // for alloca
#endif
#if defined(JPH_USE_SSE)