diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-24 17:15:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-24 17:15:26 +0000 |
commit | abda506218118117dcdf8bcb8c6d451d7073d368 (patch) | |
tree | cf77cdfb5051cd262ad52b4136087dfff9a7930e | |
parent | 833a31456d58ae6f389643d5a554258f30ee6b7a (diff) |
include more architectures in the list (even though some do not compile
this, but do it entirely in the compiler); ok miod
-rw-r--r-- | lib/libc/gen/alloca.c | 6 |
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 |