diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-05-11 07:41:26 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-05-11 07:41:26 +0000 |
commit | a403f719dbf63e2a495bbb84cf5ba0cfbc5551d2 (patch) | |
tree | 589f50e13196515d77c4938b0da845f8174ab037 /usr.bin/size/size.c | |
parent | 08e4ebbf797bd37f19c30822d3e6c4ebc452a8c1 (diff) |
Support building for cross purposes
Diffstat (limited to 'usr.bin/size/size.c')
-rw-r--r-- | usr.bin/size/size.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/size/size.c b/usr.bin/size/size.c index ea6a7b17040..ed420059eb4 100644 --- a/usr.bin/size/size.c +++ b/usr.bin/size/size.c @@ -1,4 +1,4 @@ -/* $OpenBSD: size.c,v 1.8 1997/09/11 11:21:52 deraadt Exp $ */ +/* $OpenBSD: size.c,v 1.9 1998/05/11 07:40:31 niklas Exp $ */ /* $NetBSD: size.c,v 1.7 1996/01/14 23:07:12 pk Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)size.c 8.2 (Berkeley) 12/9/93"; #endif -static char rcsid[] = "$OpenBSD: size.c,v 1.8 1997/09/11 11:21:52 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: size.c,v 1.9 1998/05/11 07:40:31 niklas Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -59,6 +59,11 @@ static char rcsid[] = "$OpenBSD: size.c,v 1.8 1997/09/11 11:21:52 deraadt Exp $" #include <ctype.h> #include <err.h> +#ifdef MID_MACHINE_OVERRIDE +#undef MID_MACHINE +#define MID_MACHINE MID_MACHINE_OVERRIDE +#endif + unsigned long total_text, total_data, total_bss, total_total; int ignore_bad_archive_entries = 1; int print_totals = 0; |