Use compiler macros to detect big endian
authorMike Hommey <mh@glandium.org>
Tue, 14 Feb 2023 23:44:19 +0000 (08:44 +0900)
committerMike Hommey <glandium@debian.org>
Tue, 1 Aug 2023 20:59:08 +0000 (21:59 +0100)
commited4e9fd414c2a62e1201a2efe01c98c1b196dc63
treeff1d9ecd7b52f10f6a99f4af7ca8f4fa818558ac
parentac3a14b51ba9387f92499745f6467ef0919703c5
Use compiler macros to detect big endian

Both clang and GCC define endianness as builtin defines.

Gbp-Pq: Topic porting
Gbp-Pq: Name Use-compiler-macros-to-detect-big-endian.patch
third_party/wasm2c/src/common.h
third_party/wasm2c/src/prebuilt/wasm2c.include.c
third_party/wasm2c/src/wasm2c.c.tmpl