diff options
author | 2001-01-22 14:52:56 +0000 | |
---|---|---|
committer | 2001-01-22 14:52:56 +0000 | |
commit | 954e980bd414798d3788935ffddfb1737bcc56c2 (patch) | |
tree | 802c849e28b7c0402f92386f9e55b97904219448 | |
parent | Define ARCH_ELFSIZE that is the default elf size on this arch. (diff) | |
download | wireguard-openbsd-954e980bd414798d3788935ffddfb1737bcc56c2.tar.xz wireguard-openbsd-954e980bd414798d3788935ffddfb1737bcc56c2.zip |
If ELFSIZE isn't explicitly defined, define it do ARCH_ELFSIZE
-rw-r--r-- | sys/sys/exec_elf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/exec_elf.h b/sys/sys/exec_elf.h index 353e7dca7f1..c74edfd8fc9 100644 --- a/sys/sys/exec_elf.h +++ b/sys/sys/exec_elf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf.h,v 1.24 2001/01/21 17:09:21 art Exp $ */ +/* $OpenBSD: exec_elf.h,v 1.25 2001/01/22 14:52:56 art Exp $ */ /* * Copyright (c) 1995, 1996 Erik Theisen. All rights reserved. * @@ -493,6 +493,10 @@ struct elf_args { #endif +#if !defined(ELFSIZE) && defined(ARCH_ELFSIZE) +#define ELFSIZE ARCH_ELFSIZE +#endif + #if defined(ELFSIZE) #define CONCAT(x,y) __CONCAT(x,y) #define ELFNAME(x) CONCAT(elf,CONCAT(ELFSIZE,CONCAT(_,x))) |