Date: Fri, 26 Jan 1996 08:15:26 +1100 From: Bruce Evans <bde@zeta.org.au> To: bde@freefall.freebsd.org, hsu@freefall.freebsd.org Cc: hackers@freefall.freebsd.org Subject: Re: i386 in <rpc/auth.h> Message-ID: <199601252115.IAA31852@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>In the following lines of <rpc/auth.h> > #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 <rpc/auth.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601252115.IAA31852>