mirror of
https://github.com/reactos/reactos.git
synced 2026-07-01 01:36:11 +08:00
[UCRT] Fix definition of _alloca for GCC/Clang
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user