[UCRT] Fix definition of _alloca for GCC/Clang

This commit is contained in:
Timo Kreuzer 2024-11-12 16:25:30 +02:00
parent 61175644d0
commit 9db517f324

View file

@ -50,9 +50,12 @@ typedef struct _heapinfo
#define _mm_malloc(a, b) _aligned_malloc(a, b)
#if defined(__GNUC__) || defined(__clang__)
#define _alloca(x) __builtin_alloca((x))
#else
_Ret_notnull_ _Post_writable_byte_size_(_Size)
void* __cdecl _alloca(_In_ size_t _Size);
#endif