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, 12 Sep 2023 21:24:13 +0000 (22:24 +0100)
commit0a3bfab8771b146c78457cf9d1e683806bb63e1b
tree40b71581cea800213eff72096a438684e75ceafe
parentcd9d43882ee8f89bc88964dbf9091d37d5cbdc9c
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