libosmocore.git branch master updated. 0.8.0-13-g249a81b

gitosis at osmocom.org gitosis at osmocom.org
Sun Mar 22 08:07:00 UTC 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, master has been updated
       via  249a81b7ff57d39af843cd267b60c0ce0400ce8d (commit)
      from  789334640f2c34e58b9f3a8c19c57ac15bd2ed38 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=249a81b7ff57d39af843cd267b60c0ce0400ce8d

commit 249a81b7ff57d39af843cd267b60c0ce0400ce8d
Author: Holger Hans Peter Freyther <holger at moiji-mobile.com>
Date:   Sun Mar 22 09:03:42 2015 +0100

    endian: Be able to detect endian on GNU and BSD
    
    On GNU __BYTE_ORDER and __LITTLE_ENDIAN is defined and
    the include is "endian.h" on FreeBSD it is "sys/endian.h"
    and LITTLE_ENDIAN/_LITTLE_ENDIAN and BYTE_ORDER/_BYTE_ORDER
    is defined.
    
    Create a header file that defines OSMO_IS_LITTLE_ENDIAN
    and OSMO_IS_BIG_ENDIAN and can be used as
    
     #if OSMO_IS_LITTLE_ENDIAN
       do_little_endian
     #elif OSMO_IS_BIG_ENDIAN
       do_big_endian
     #else
       #error "Unknown endian"
     #endif

-----------------------------------------------------------------------

Summary of changes:
 include/Makefile.am           |  1 +
 include/osmocom/core/endian.h | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 include/osmocom/core/endian.h


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications



More information about the osmocom-commitlog mailing list