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)
commitc39069384bb1b554d43cfc046955d225d9ffb85b
treef92a3073e7a06302cdffab256941551e13d1d8e2
parentdb56b441c06cc425b1d877bb33274ef13a65d0f3
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