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: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: toolchain/53880: nameser_compat.h contains an old, outdated
endian.h
Date: Sat, 27 Jun 2020 22:37:36 -0400
Looking at other BSDs, OpenBSD removed that entire code block back in
2005[1] (after first having merged nameser_compat.h into nameser.h),
and it hasn't been present in FreeBSD since at least 1998. So the
common approach is to just remove it, as Martin suggested.
(They also both use _BYTE_ORDER/_BIG_ENDIAN/_LITTLE_ENDIAN/_PDP_ENDIAN
rather than BYTE_ORDER/BIG_ENDIAN/LITTLE_ENDIAN/PDP_ENDIAN, as the
former aren't guarded by specific macro definitions like _XOPEN_SOURCE
or _NETBSD_SOURCE.)
1. https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/include/arpa/nameser.h.diff?r1=1.10&r2=1.11&f=h
Dave
Home |
Main Index |
Thread Index |
Old Index