[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alloca in HP NonStop
From: |
Paul Eggert |
Subject: |
Re: alloca in HP NonStop |
Date: |
Tue, 03 Jul 2012 10:12:54 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
On 07/03/2012 02:56 AM, Joachim Schmitz wrote:
> Or rather: we need that prototype before the pragma
OK, in that case we might as well not refactor.
I pushed the following instead:
---
ChangeLog | 7 +++++++
lib/alloca.in.h | 7 +++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e7f7883..9dda6c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-07-03 Paul Eggert <address@hidden>
+
+ 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 <address@hidden>
fsusage: remove code not needed on non GNU/Linux systems.
diff --git a/lib/alloca.in.h b/lib/alloca.in.h
index 99be048..b9f8bbe 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
--
1.7.6.5
- Re: alloca in HP NonStop, Paul Eggert, 2012/07/02
- RE: alloca in HP NonStop, Joachim Schmitz, 2012/07/03
- Re: alloca in HP NonStop, Paul Eggert, 2012/07/03
- RE: alloca in HP NonStop, Joachim Schmitz, 2012/07/03
- RE: alloca in HP NonStop, Joachim Schmitz, 2012/07/03
- Re: alloca in HP NonStop,
Paul Eggert <=
- RE: alloca in HP NonStop, Joachim Schmitz, 2012/07/04
- Re: alloca in HP NonStop, Paul Eggert, 2012/07/04
- RE: alloca in HP NonStop, Joachim Schmitz, 2012/07/04