alloca: add support for HP NonStop TNS/E native
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Jul 2012 17:08:41 +0000 (10:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Jul 2012 17:09:13 +0000 (10:09 -0700)
* 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>.

ChangeLog
lib/alloca.in.h

index e7f7883..9dda6c7 100644 (file)
--- 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.
index 99be048..b9f8bbe 100644 (file)
 #  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