summaryrefslogtreecommitdiff
path: root/src/headers/bits-bendian
diff options
context:
space:
mode:
Diffstat (limited to 'src/headers/bits-bendian')
-rw-r--r--src/headers/bits-bendian3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/headers/bits-bendian b/src/headers/bits-bendian
index ef57f58..6caf1e7 100644
--- a/src/headers/bits-bendian
+++ b/src/headers/bits-bendian
@@ -1,3 +1,6 @@
#define uint@BITS@_little_endian(s, n) uint@BITS@_reverse((s), (n))
#define uint@BITS@_big_endian(s, n)
+#define uint@BITS@_little(u) uint@BITS@_bswap(u)
+#define uint@BITS@_big(u) (u)
+