689cf874b2
Newlib 2.2.0 w/ nan ofeatures, xtensa patches, locking implementation. Built from https://github.com/projectgus/newlib-xtensa branch xtensa-2_2_0-lock commit daa6ae40cdc8099f54c3e68a586fc1b906169c5a For more details, see: https://github.com/SuperHouse/esp-open-rtos/wiki/libc-configuration Closes #1
21 lines
420 B
C
21 lines
420 B
C
/* libc/include/alloca.h - Allocate memory on stack */
|
|
|
|
/* Written 2000 by Werner Almesberger */
|
|
/* Rearranged for general inclusion by stdlib.h.
|
|
2001, Corinna Vinschen <vinschen@redhat.com> */
|
|
|
|
#ifndef _NEWLIB_ALLOCA_H
|
|
#define _NEWLIB_ALLOCA_H
|
|
|
|
#include "_ansi.h"
|
|
#include <sys/reent.h>
|
|
|
|
#undef alloca
|
|
|
|
#ifdef __GNUC__
|
|
#define alloca(size) __builtin_alloca(size)
|
|
#else
|
|
void * _EXFUN(alloca,(size_t));
|
|
#endif
|
|
|
|
#endif
|