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>
Fri, 15 Sep 2023 17:34:45 +0000 (18:34 +0100)
commit0421feb3df294bec470629b82ff142c2090e69a6
tree7860ae6349256315b546ae9429abb106be84f799
parenteee2b1f3b6be8b3aa8ca9e803cd31d0a04ca4418
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