mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 01:44:36 +00:00
22 lines
334 B
C
22 lines
334 B
C
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#pragma once
|
|
|
|
#include <stddef.h>
|
|
|
|
void *alloca(size_t); /* built-in for gcc */
|
|
|
|
#if defined(__GNUC__) && __GNUC__ >= 3
|
|
/* built-in for gcc 3 */
|
|
#undef alloca
|
|
#undef __alloca
|
|
#define alloca(size) __alloca(size)
|
|
#define __alloca(size) __builtin_alloca(size)
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|