diff options
author | 2005-11-24 17:15:25 +0000 | |
---|---|---|
committer | 2005-11-24 17:15:25 +0000 | |
commit | e5f7460854086fcec20684d1265de9391579bdb2 (patch) | |
tree | 9db74a67b24336bfefa1428a451f036e68ead926 | |
parent | code is not being used; toss into Attic (diff) | |
download | wireguard-openbsd-e5f7460854086fcec20684d1265de9391579bdb2.tar.xz wireguard-openbsd-e5f7460854086fcec20684d1265de9391579bdb2.zip |
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 |