You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tellico/src/translators/btparse/my_alloca.h

36 lines
1.1 KiB

/* ------------------------------------------------------------------------
@NAME : my_alloca.h
@DESCRIPTION: All-out assault at making alloca() available on any Unix
platform. Stolen from the GNU Autoconf manual.
@CREATED : 1997/10/30, Greg Ward
@VERSION : $Id: my_alloca.h,v 1.1 1997/10/31 03:56:17 greg Rel $
@COPYRIGHT : This file is part of the btparse library. This library is
free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
-------------------------------------------------------------------------- */
#ifndef MY_ALLOCA_H
#define MY_ALLOCA_H
#ifdef __GNUC__
# ifndef alloca
# define alloca __builtin_alloca
# endif
#else
# if HAVE_ALLOCA_H
# include <alloca.h>
# else
# ifdef _AIX
# pragma alloca
# else
# ifndef alloca /* predefined by HP cc +Olibcalls */
char *alloca ();
# endif
# endif
# endif
#endif
#endif /* MY_ALLOCA_H */