From 4abab5ad6c8465a7528ccdd5f49367da05f78bbd Mon Sep 17 00:00:00 2001 From: Vladimir Azarov Date: Tue, 1 Oct 2024 15:47:05 +0200 Subject: Initial version --- include/alloca.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 include/alloca.h (limited to 'include/alloca.h') diff --git a/include/alloca.h b/include/alloca.h new file mode 100644 index 0000000..b8d183d --- /dev/null +++ b/include/alloca.h @@ -0,0 +1,19 @@ +#ifndef _ALLOCA_H +#define _ALLOCA_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define __NEED_size_t +#include + +void *alloca(size_t); + +#define alloca __builtin_alloca + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.3