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, 9 May 2023 21:32:15 +0000 (22:32 +0100)
commit7716f94be4c50f1bfd9ee0b1d861cdc5a703d50f
tree0c16c9003ce5e46e59c27affbbc48f5e174a2808
parent24a2a63266936b47efa1f61776b780be360b6948
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