summaryrefslogtreecommitdiff
path: root/lib/libc/gen/alloca.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-24 17:15:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-24 17:15:26 +0000
commitabda506218118117dcdf8bcb8c6d451d7073d368 (patch)
treecf77cdfb5051cd262ad52b4136087dfff9a7930e /lib/libc/gen/alloca.c
parent833a31456d58ae6f389643d5a554258f30ee6b7a (diff)
include more architectures in the list (even though some do not compile
this, but do it entirely in the compiler); ok miod
Diffstat (limited to 'lib/libc/gen/alloca.c')
-rw-r--r--lib/libc/gen/alloca.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/alloca.c b/lib/libc/gen/alloca.c
index 8eb309307a3..b0ba707c12b 100644
--- a/lib/libc/gen/alloca.c
+++ b/lib/libc/gen/alloca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: alloca.c,v 1.5 2005/03/25 15:38:47 otto Exp $ */
+/* $OpenBSD: alloca.c,v 1.6 2005/11/24 17:15:25 deraadt Exp $ */
/* alloca.c -- allocate automatically reclaimed memory
(Mostly) portable public-domain implementation -- D A Gwyn
@@ -43,9 +43,9 @@ typedef void *pointer;
#if defined(__alpha__) || defined(__m68k__) || defined(__i386__) || \
defined(__m88k__) || defined(__mips__) || defined(__powerpc__) || \
defined(__sparc__) || defined(__sparc64__) || defined(__vax__) || \
- defined(__x86_64__)
+ defined(__amd64__) || defined(__mips64__)
# define STACK_DIRECTION -1
-#elif defined(__hppa__)
+#elif defined(__hppa__) || defined(__hppa64__)
# define STACK_DIRECTION 1
#else
# error must specify stack direction