From 013aabf1249f5b96b4a848738d5faab38a287fc6 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 4 Jul 2012 01:35:34 -0700 Subject: [PATCH] Merge from gnulib. * lib/alloca.in.h: New version from gnulib, incorporating: 2012-07-03 alloca: add support for HP NonStop TNS/E native --- ChangeLog | 6 ++++++ lib/alloca.in.h | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 95f0f0c1a20..ce247c84122 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-07-04 Paul Eggert + + Merge from gnulib. + * lib/alloca.in.h: New version from gnulib, incorporating: + 2012-07-03 alloca: add support for HP NonStop TNS/E native + 2012-07-04 Dmitry Antipov * configure.in: If --enable-gcc-warnings, disable diff --git a/lib/alloca.in.h b/lib/alloca.in.h index e94eb68c3c8..d20f4b8f1c3 100644 --- a/lib/alloca.in.h +++ b/lib/alloca.in.h @@ -44,6 +44,13 @@ # 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 # ifdef __cplusplus -- 2.39.2