summaryrefslogtreecommitdiffstats
path: root/gl/alloca.in.h
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-08-19 23:27:12 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-19 23:27:12 +0200
commit26fbe7f1e68bb0c96da32491efcf3696fe6c299b (patch)
treec4d95289187a64e9c7517bf73d8208026c3d2fb3 /gl/alloca.in.h
parent5f79e3e9f62ca5487d9881973149136ba1d19d3e (diff)
downloadmonitoring-plugins-26fbe7f1e68bb0c96da32491efcf3696fe6c299b.tar.gz
Sync with the latest Gnulib code (6f2d632)
Diffstat (limited to 'gl/alloca.in.h')
-rw-r--r--gl/alloca.in.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/gl/alloca.in.h b/gl/alloca.in.h
index 44f20b7a..72d28ee3 100644
--- a/gl/alloca.in.h
+++ b/gl/alloca.in.h
@@ -1,6 +1,6 @@
1/* Memory allocation on the stack. 1/* Memory allocation on the stack.
2 2
3 Copyright (C) 1995, 1999, 2001-2004, 2006-2010 Free Software Foundation, 3 Copyright (C) 1995, 1999, 2001-2004, 2006-2013 Free Software Foundation,
4 Inc. 4 Inc.
5 5
6 This program is free software; you can redistribute it and/or modify it 6 This program is free software; you can redistribute it and/or modify it
@@ -14,9 +14,9 @@
14 General Public License for more details. 14 General Public License for more details.
15 15
16 You should have received a copy of the GNU General Public 16 You should have received a copy of the GNU General Public
17 License along with this program; if not, write to the Free Software 17 License along with this program; if not, see
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 18 <http://www.gnu.org/licenses/>.
19 USA. */ 19 */
20 20
21/* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H 21/* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H
22 means there is a real alloca function. */ 22 means there is a real alloca function. */
@@ -44,6 +44,13 @@
44# define alloca _alloca 44# define alloca _alloca
45# elif defined __DECC && defined __VMS 45# elif defined __DECC && defined __VMS
46# define alloca __ALLOCA 46# define alloca __ALLOCA
47# elif defined __TANDEM && defined _TNS_E_TARGET
48# ifdef __cplusplus
49extern "C"
50# endif
51void *_alloca (unsigned short);
52# pragma intrinsic (_alloca)
53# define alloca _alloca
47# else 54# else
48# include <stddef.h> 55# include <stddef.h>
49# ifdef __cplusplus 56# ifdef __cplusplus