From: Paul Eggert Date: Tue, 3 Jul 2012 17:08:41 +0000 (-0700) Subject: alloca: add support for HP NonStop TNS/E native X-Git-Tag: v0.1~566 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=b4dd83bbdab410921cadc223c90890edad10841e;p=gnulib.git 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 . --- diff --git a/ChangeLog b/ChangeLog index e7f788309..9dda6c7f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-07-03 Paul Eggert + + 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 + . + 2012-07-02 Pádraig Brady fsusage: remove code not needed on non GNU/Linux systems. diff --git a/lib/alloca.in.h b/lib/alloca.in.h index 99be0481b..b9f8bbe74 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