diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-01-22 14:52:57 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-01-22 14:52:57 +0000 |
commit | 248d918c26cc367a2e96f698f857c98bf901f8da (patch) | |
tree | 16e8a54657822e1c7a0c747efec5f60597211918 | |
parent | 575b660a4d503622d7984556411f699a43a2a0b7 (diff) |
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))) |