[MERGED] libosmocore[master]: fix issue on big endian architecture

2018-04-09 Thread Harald Welte
Harald Welte has submitted this change and it was merged. Change subject: fix issue on big endian architecture .. fix issue on big endian architecture OSMO_IS_LITTLE_ENDIAN is always defined and has a value of either 0 or 1 as

libosmocore[master]: fix issue on big endian architecture

2018-04-09 Thread Harald Welte
Patch Set 1: thanks. I think however that there are *many* more big endian related problems all over the Osmocom code base. So I'd not be surprised if you run into all kinds of trouble on such systems (e.g. PPC, MIPS). Fixes are appreciated, but nobody of the core developers is using any re

libosmocore[master]: fix issue on big endian architecture

2018-04-09 Thread Harald Welte
Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/7666 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4a09d2d8ccf155e70a3977ae1747758b6bc5125e Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Ger

libosmocore[master]: fix issue on big endian architecture

2018-04-08 Thread Vadim Yanitskiy
Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/7666 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4a09d2d8ccf155e70a3977ae1747758b6bc5125e Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Ger

[PATCH] libosmocore[master]: fix issue on big endian architecture

2018-04-07 Thread Thorsten Alteholz
Review at https://gerrit.osmocom.org/7666 fix issue on big endian architecture OSMO_IS_LITTLE_ENDIAN is always defined and has a value of either 0 or 1 as a result in byteswap.h the corresponding swap functions will be always called, independent of the endianess Signed-off-by: Thorsten Altehol