chiark
/
gitweb
/
~mdw
/
mLib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5c0f2e0
)
utils/bits.h: Delete duplicate macro definitions for big-endian targets.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 6 Apr 2024 23:58:08 +0000
(
00:58
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 6 Apr 2024 23:58:08 +0000
(
00:58
+0100)
utils/bits.h
patch
|
blob
|
blame
|
history
diff --git
a/utils/bits.h
b/utils/bits.h
index 28c7dd453916dac73e67ba3b6076407db452cb6e..87058e26967a96c3f9d20a2768c4b8624613ccf2 100644
(file)
--- 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 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)
# endif
# define HTOL64_(z, x) ENDSWAP64_(z, x)
# define LTOH64_(z, x) ENDSWAP64_(z, x)