[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>
Subject: Re: toolchain/53880: nameser_compat.h contains an old, outdated
Date: Sat, 27 Jun 2020 22:37:36 -0400
Looking at other BSDs, OpenBSD removed that entire code block back in
2005 (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
Main Index |
Thread Index |