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, 1 Aug 2023 20:59:08 +0000 (21:59 +0100)
commit7e4e8d8ed931fc6f9b6f5dd6c0e3bb6e6a6ba5cc
tree086b6b0d00f503884e387d2f332be2a5ff65ab30
parent848d3ccf0bf01f01c1c6eee73bd25104d2e951be
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