summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-10-12 03:54:29 +0000
committerLaurent Bercot <ska@appnovation.com>2023-10-12 03:54:29 +0000
commitb305bf616804db7176601bc2acd3495f0217e1c4 (patch)
tree872d15cd162204ec273199e7d0495bb163daa1b4 /tools
parent4fa9aa58a926275c2db31a4cc98122e7883c714a (diff)
downloadskalibs-b305bf616804db7176601bc2acd3495f0217e1c4.tar.xz
Add UINT??_BSWAP as constexp macro; rip off typedef uint?? bandaid
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/gen-bits.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gen-bits.sh b/tools/gen-bits.sh
index 01aa9b8..f406cc3 100755
--- a/tools/gen-bits.sh
+++ b/tools/gen-bits.sh
@@ -36,6 +36,7 @@ else
./crash
fi
+cat "src/headers/uint${bits}-bswap"
tools/gen-types-internal.sh "" "" "$bits" < src/headers/bits-${endian}endian
gen_bits "$bits" "$dfmt" "$ofmt" "$xfmt" "$bfmt"
exec tools/gen-types-internal.sh "" "" "$bits" < src/headers/bits-footer