commit d1168c910d834df2e1f91fc0b4a5dc06935aeaeb
Author: Sascha Wildner <[email protected]>
Date: Mon Nov 23 09:42:35 2020 +0100
Put all definitions of htonl() and friends under _BYTEORDER_FUNC_DEFINED.
This is the intended way to properly deal with non-__GNUC__ cases (see
<machine/endian.h>). But it was only done properly in <arpa/inet.h> so
far.
Noticed-by: zrj
Summary of changes:
sys/netinet/in.h | 9 ++-------
sys/sys/param.h | 9 ++-------
2 files changed, 4 insertions(+), 14 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d1168c910d834df2e1f91fc0b4a5dc06935aeaeb
--
DragonFly BSD source repository