URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 148 |
Rev 158 |
/* libc/include/alloca.h - Allocate memory on stack */
|
/* libc/include/alloca.h - Allocate memory on stack */
|
|
|
/* Written 2000 by Werner Almesberger */
|
/* Written 2000 by Werner Almesberger */
|
/* Rearranged for general inclusion by stdlib.h.
|
/* Rearranged for general inclusion by stdlib.h.
|
2001, Corinna Vinschen <vinschen@redhat.com> */
|
2001, Corinna Vinschen <vinschen@redhat.com> */
|
|
|
#ifndef _NEWLIB_ALLOCA_H
|
#ifndef _NEWLIB_ALLOCA_H
|
#define _NEWLIB_ALLOCA_H
|
#define _NEWLIB_ALLOCA_H
|
|
|
#include "_ansi.h"
|
#include "_ansi.h"
|
#include <sys/reent.h>
|
#include <sys/reent.h>
|
|
|
#undef alloca
|
#undef alloca
|
|
|
#ifdef __GNUC__
|
#ifdef __GNUC__
|
#define alloca(size) __builtin_alloca(size)
|
#define alloca(size) __builtin_alloca(size)
|
#else
|
#else
|
void * _EXFUN(alloca,(size_t));
|
void * _EXFUN(alloca,(size_t));
|
#endif
|
#endif
|
|
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.