NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/53880: nameser_compat.h contains an old, outdated endian.h
The following reply was made to PR toolchain/53880; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: toolchain/53880: nameser_compat.h contains an old, outdated
endian.h
Date: Wed, 16 Jan 2019 08:20:59 +0100
On Wed, Jan 16, 2019 at 04:15:00AM +0000, coypu%sdf.org@localhost wrote:
> alternative idea, replace block by another header providing _BYTE_ORDER.
> Most minimal one is <machine/endian_machdep.h> but <endian.h> should be standard now.
It is intended that way:
#if (BSD >= 199103)
# include <machine/endian.h>
but of course BSD is likely not defined here.
So: remove the ifdef mess and use <endian.h> unconditionally.
Martin
Home |
Main Index |
Thread Index |
Old Index