Use compiler macros to detect big endian
authorMike Hommey <mh@glandium.org>
Tue, 14 Feb 2023 23:44:19 +0000 (08:44 +0900)
committerEmilio Pozuelo Monfort <pochu@debian.org>
Tue, 8 Aug 2023 09:37:53 +0000 (10:37 +0100)
commitea1cc5fcd190b4c5e41a93f8f30b69779dc4595c
tree7b938549a7f98d022ee6765a7d324f9718baafb4
parentcb063109c1c517446ba48ebf37f377c8873784ae
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