On Wed, Jun 03, 2020 at 05:22:39PM +0000, nia wrote:
> While trying to accurately replicate NetBSD's struct addrinfo for
> crystal[0], I noticed this pattern occurs twice in netdb.h...
> 
> #if defined(__alpha__) || (defined(__i386__) && defined(_LP64))
>         int             __ai_pad0;      /* ABI compatibility */
> #endif

Yes, both __i386__ cases are just wrong. The old types and the new ones
are identical. But this is the time when amd64 just started to happen,
so it is quite possible that the defines made sense at that point in
time. As it is before the initial amd64 release, the compat doesn't
matter though.

Joerg

Reply via email to