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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [include/] [alloca.h] - Diff between revs 1005 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 1005 Rev 1765
/* 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>
 
 
#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.