The VMENDIANNESS macro should not be necessary, since endianness can be tested at runtime. Change sets attached.
Cute! It's fractionally slower at runtime in return for slightly simpler make/autoconf setup. Does anyone have a strong opinion either way?
Nope. And I don't think it matters much.
Cheers, - Andreas