libgfortran.h: define gfc_alloca()
2004-09-21 Steven G. Kargl <kargls@comcast.net> * libgfortran.h: define gfc_alloca() * intrinsics/env.c (getenv, get_environment_variable_i4): Use it. From-SVN: r87801
This commit is contained in:
parent
936f1f0641
commit
c6847e25b9
3 changed files with 13 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Common declarations for all of libgfor.
|
||||
Copyright 2002, 2003 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
Contributed by Paul Brook <paul@nowt.org>, and
|
||||
Andy Vaught <andy@xena.eas.asu.edu>
|
||||
|
||||
|
@ -237,6 +237,11 @@ extern unsigned line; /* Location of the current libray call (optional). */
|
|||
#define filename prefix(filename)
|
||||
extern char *filename;
|
||||
|
||||
/* Avoid conflicting prototypes of alloca() in system headers by using
|
||||
GCC's builtin alloca(). */
|
||||
|
||||
#define gfc_alloca(x) __builtin_alloca(x)
|
||||
|
||||
|
||||
/* main.c */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue