Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 1996 13:00:43 -0800 (PST)
From:      Jeffrey Hsu <hsu>
To:        bde
Cc:        hackers
Subject:   i386 in <rpc/auth.h>
Message-ID:  <199601252100.NAA18701@freefall.freebsd.org>

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

                                                Jeffrey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601252100.NAA18701>