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, 11 Apr 2023 21:37:17 +0000 (22:37 +0100)
commit31f2cc4042bceeb9969634eb349fdedc3e266bb9
tree6a1d5c9603e0c3be23bb06bc5235b9d12f45a7ba
parent52bda05b58f1bf80092951d0d971ea0f2fae55e2
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