From 30c36df76b50ff577f17bfa5a8cb6ff9a613cac4 Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Sat, 25 Jul 2026 15:40:32 +0200 Subject: [PATCH] Add LE(T) macro I figured since I was messing with some parsing code might as well be prudent. In case somebody revives big-endian CPUs. --- include/helpers/endian.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/helpers/endian.h b/include/helpers/endian.h index 689f9f0dab..da0c8a4a36 100644 --- a/include/helpers/endian.h +++ b/include/helpers/endian.h @@ -285,6 +285,7 @@ inline void be_swap(Mtx& val) { } } +#define LE(T) T #define BE(T) BE #define BE_HOST(T) (T.host()) #else