Mercurial > hg > octave-jordi > gnulib-hg
comparison lib/alloca.in.h @ 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 | bb182ee4a09d |
children | e542fd46ad6f |
comparison
equal
deleted
inserted
replaced
16961:1ba5ea17c907 | 16962:5cf5743467da |
---|---|
42 # elif defined _MSC_VER | 42 # elif defined _MSC_VER |
43 # include <malloc.h> | 43 # include <malloc.h> |
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 | |
49 extern "C" | |
50 # endif | |
51 void *_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 |
50 extern "C" | 57 extern "C" |
51 # endif | 58 # endif |