OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [include/] [alloca.h] - Diff between revs 148 and 158

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
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.