Mercurial > hg > octave-jordi > gnulib-hg
changeset 16962:5cf5743467da
alloca: add support for HP NonStop TNS/E native
* lib/alloca.in.h (alloca): Support the new host.
From a suggestion by Joachim Schmitz in
<http://lists.gnu.org/archive/html/bug-gnulib/2012-06/msg00355.html>.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 03 Jul 2012 10:08:41 -0700 |
parents | 1ba5ea17c907 |
children | 2bc936540c0f |
files | ChangeLog lib/alloca.in.h |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-07-03 Paul Eggert <eggert@cs.ucla.edu> + + alloca: add support for HP NonStop TNS/E native + * lib/alloca.in.h (alloca): Support the new host. + From a suggestion by Joachim Schmitz in + <http://lists.gnu.org/archive/html/bug-gnulib/2012-06/msg00355.html>. + 2012-07-02 Pádraig Brady <P@draigBrady.com> fsusage: remove code not needed on non GNU/Linux systems.
--- 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 <stddef.h> # ifdef __cplusplus