From: Mark Wooding Date: Sat, 6 Apr 2024 23:58:08 +0000 (+0100) Subject: utils/bits.h: Delete duplicate macro definitions for big-endian targets. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/commitdiff_plain/8e5745a278c26c77815324a703181935e7b26dc4?ds=sidebyside utils/bits.h: Delete duplicate macro definitions for big-endian targets. --- diff --git a/utils/bits.h b/utils/bits.h index 28c7dd4..87058e2 100644 --- a/utils/bits.h +++ b/utils/bits.h @@ -414,10 +414,6 @@ typedef unsigned char octet, uint8; # define LTOH64(x) ENDSWAP64(x) # define HTOB64(x) (x) # define BTOH64(x) (x) -# define HTOL64_(z, x) ENDSWAP64_(z, x) -# define LTOH64_(z, x) ENDSWAP64_(z, x) -# define HTOB64_(z, x) ((z).i = (x).i) -# define BTOH64_(z, x) ((z).i = (x).i) # endif # define HTOL64_(z, x) ENDSWAP64_(z, x) # define LTOH64_(z, x) ENDSWAP64_(z, x)