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>
Wed, 15 Mar 2023 11:53:54 +0000 (11:53 +0000)
commite1c3e4a9ac6a1fb0f07252e7452567dc6ac394b0
treef182c8a9b92203c63b55f2c89ac091e8ced52cfd
parentb9e0be522ccbab990144db73e9f00890678ce02a
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