summaryrefslogtreecommitdiff
path: root/src/m/hp800.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/m/hp800.h')
-rw-r--r--src/m/hp800.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/m/hp800.h b/src/m/hp800.h
index 01146e52359..1630a0bc883 100644
--- a/src/m/hp800.h
+++ b/src/m/hp800.h
@@ -174,6 +174,14 @@ Boston, MA 02110-1301, USA. */
#define rindex strrchr
#endif /* __hpux */
+
+/* Systems with GCC don't need to lose. */
+#ifdef __NetBSD__
+# ifdef __GNUC__
+# define alloca __builtin_alloca
+# define HAVE_ALLOCA
+# endif /* __GNUC__ */
+#endif /* __NetBSD__ */
/* arch-tag: 809436e6-1645-4b92-b40d-2de5d6e7227c
(do not change this comment) */