diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-11 00:03:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-11 00:03:09 +0000 |
commit | 7f5dd6220790367c35e663e041f9c298baca2e0e (patch) | |
tree | ae7787f6802d7da95b80c1cc3846835e7d9f4a7f /lib | |
parent | acd16c4ec5950068cb9f4f49cf3122ab066885df (diff) |
amd64 would use negative stack direction, if it used this file; millert ok
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/alloca.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/alloca.c b/lib/libc/gen/alloca.c index 0855700596a..41b38c00050 100644 --- a/lib/libc/gen/alloca.c +++ b/lib/libc/gen/alloca.c @@ -40,7 +40,8 @@ typedef void *pointer; #if defined(__alpha__) || defined(__m68k__) || defined(__i386__) || \ defined(__m88k__) || defined(__mips__) || defined(__powerpc__) || \ - defined(__sparc__) || defined(__sparc64__) || defined(__vax__) + defined(__sparc__) || defined(__sparc64__) || defined(__vax__) || \ + defined(__x86_64__) # define STACK_DIRECTION -1 #elif defined(__hppa__) # define STACK_DIRECTION 1 |