summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/alloca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/alloca.c b/lib/libc/gen/alloca.c
index b0ba707c12b..caf51daac13 100644
--- a/lib/libc/gen/alloca.c
+++ b/lib/libc/gen/alloca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: alloca.c,v 1.6 2005/11/24 17:15:25 deraadt Exp $ */
+/* $OpenBSD: alloca.c,v 1.7 2005/11/30 15:02:59 deraadt Exp $ */
/* alloca.c -- allocate automatically reclaimed memory
(Mostly) portable public-domain implementation -- D A Gwyn
@@ -43,7 +43,7 @@ typedef void *pointer;
#if defined(__alpha__) || defined(__m68k__) || defined(__i386__) || \
defined(__m88k__) || defined(__mips__) || defined(__powerpc__) || \
defined(__sparc__) || defined(__sparc64__) || defined(__vax__) || \
- defined(__amd64__) || defined(__mips64__)
+ defined(__amd64__) || defined(__mips64__) || defined(__arm__)
# define STACK_DIRECTION -1
#elif defined(__hppa__) || defined(__hppa64__)
# define STACK_DIRECTION 1