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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [include/] [alloca-conf.h] - Blame information for rev 1768

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
#include "config.h"
2
 
3
#if defined(__GNUC__) && !defined(C_ALLOCA)
4
# ifndef alloca
5
#  define alloca __builtin_alloca
6
# endif
7
#else /* ! defined (__GNUC__) */
8
#  ifdef _AIX
9
 #pragma alloca
10
#  else
11
#  if defined(HAVE_ALLOCA_H) && !defined(C_ALLOCA)
12
#   include <alloca.h>
13
#  else /* ! defined (HAVE_ALLOCA_H) */
14
#   ifdef __STDC__
15
extern PTR alloca (size_t);
16
#   else /* ! defined (__STDC__) */
17
extern PTR alloca ();
18
#   endif /* ! defined (__STDC__) */
19
#  endif /* ! defined (HAVE_ALLOCA_H) */
20
#  ifdef _WIN32
21
#   include <malloc.h>
22
#  endif
23
# endif /* ! defined (_AIX) */
24
#endif /* ! defined (__GNUC__) */

powered by: WebSVN 2.1.0

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