The test suite for libosmocore fails on big-endian architectures

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Freyther holger at freyther.de
Fri Dec 11 08:24:07 UTC 2015


> On 09 Dec 2015, at 18:20, Ruben Undheim <ruben.undheim at gmail.com> wrote:
> 
> Hi,
> 
> 
> +#ifndef OSMO_IS_LITTLE_ENDIAN
> + #define OSMO_IS_LITTLE_ENDIAN 0
> +#endif

I am surprised by this hunk. Our endian.h should define both macros. I think I used
the vim search to search for a typo in one of the branches (BSD vs. Linux, LE vs. BE)
but it looks good. Do you remember why this was needed?

holger


More information about the OpenBSC mailing list