From owner-freebsd-hackers Thu Jan 25 13:22:14 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA22966 for hackers-outgoing; Thu, 25 Jan 1996 13:22:14 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA22873 Thu, 25 Jan 1996 13:22:06 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id IAA31852; Fri, 26 Jan 1996 08:15:26 +1100 Date: Fri, 26 Jan 1996 08:15:26 +1100 From: Bruce Evans Message-Id: <199601252115.IAA31852@godzilla.zeta.org.au> To: bde@freefall.freebsd.org, hsu@freefall.freebsd.org Subject: Re: i386 in Cc: hackers@freefall.freebsd.org Sender: owner-hackers@FreeBSD.ORG Precedence: bulk >In the following lines of > #if (mc68000 || sparc || vax || i386 || tahoe || hp300) > typedef u_long u_int32; /* 32-bit unsigned integers */ > #endif > union des_block { > struct { > u_int32 high; > u_int32 low; > } key; > char c[8]; > }; >the #if i386 in causes compiles to fail when >using the -ansi flag, since then only __i386__ is defined and >not i386. >Should we > 1. remove the #if conditional > 2. add __i386__ to the conditional > 3. change the uses of u_int32 to u_int32_t and remove the typedef Copy NetBSD and use `typedef u_int32_t u_int32'. This avoids having to change the names in 3. Bruce