* libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
to here. Rearrange for general inclusion by stdlib.h. * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__ isn't defined. * libc/sys/linux/include/alloca.h: Move to libc/include.
This commit is contained in:
@ -1,13 +0,0 @@
|
||||
/* libc/sys/linux/include/alloca.h - Allocate memory on stack */
|
||||
|
||||
/* Written 2000 by Werner Almesberger */
|
||||
|
||||
|
||||
#ifndef _NEWLIB_ALLOCA_H
|
||||
#define _NEWLIB_ALLOCA_H
|
||||
|
||||
/* Simple, since we know that we use gcc */
|
||||
|
||||
#define alloca(size) __builtin_alloca(size)
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user