summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-30 15:03:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-30 15:03:00 +0000
commit9e31f1cf952e40d5ebbe6bc8729bc4f5d66a9a20 (patch)
tree97cb9cf076b27f3326e991427ed4aa8b0c13eaa5 /lib
parent7fee0ad791494c74a1feafceaa21f0853ef0563a (diff)
know __arm__ too
Diffstat (limited to 'lib')
-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