mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-22 06:43:28 +03:00
0a3f4b2193
git-svn-id: svn://kolibrios.org@1693 a494cfbc-eb01-0410-851d-a64ba20cac60
22 lines
441 B
C
22 lines
441 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
|