diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-03 10:08:41 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-03 10:09:13 -0700 |
commit | b4dd83bbdab410921cadc223c90890edad10841e (patch) | |
tree | 9ece1d6ae48fd1c60c0ae1ce2e6840e5c35f3c99 /lib | |
parent | 2ab2617ee340ff35a9a4c713004fb302868d41b0 (diff) | |
download | gnulib-b4dd83bbdab410921cadc223c90890edad10841e.tar.gz |
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>.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/alloca.in.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/alloca.in.h b/lib/alloca.in.h index 99be0481b2..b9f8bbe743 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 <stddef.h> # ifdef __cplusplus |