X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Falloca.in.h;h=49903b1c85d7b884d410163b5240bc087cac0751;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=8be3e69f523b82bc9daaa5e5c9b47932fb1faf8c;hpb=79edddd850ad6fa0a9ecd3611b1e26a1e62d4ceb;p=gnulib.git diff --git a/lib/alloca.in.h b/lib/alloca.in.h index 8be3e69f5..49903b1c8 100644 --- a/lib/alloca.in.h +++ b/lib/alloca.in.h @@ -1,7 +1,7 @@ /* Memory allocation on the stack. - Copyright (C) 1995, 1999, 2001-2004, 2006-2008 Free Software - Foundation, Inc. + Copyright (C) 1995, 1999, 2001-2004, 2006-2014 Free Software Foundation, + Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -14,9 +14,9 @@ General Public License for more details. You should have received a copy of the GNU General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - USA. */ + License along with this program; if not, see + . + */ /* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H means there is a real alloca function. */ @@ -42,11 +42,17 @@ # elif defined _MSC_VER # include # define alloca _alloca +# elif defined __DECC && defined __VMS +# define alloca __ALLOCA +# elif defined __TANDEM && defined _TNS_E_TARGET +# ifdef __cplusplus +extern "C" +# endif +void *_alloca (unsigned short); +# pragma intrinsic (_alloca) +# define alloca _alloca # else # include -# if defined __DECC && defined __VMS -# define alloca __ALLOCA -# endif # ifdef __cplusplus extern "C" # endif