platform_external_selinux/libselinux
Thomas Petazzoni 05abcb1d13 libselinux/src/regex.c: support old compilers for the endian check
libselinux 2.6 has added some code in regex.c that uses __BYTE_ORDER__
to determine the system endianness. Unfortunately, this definition
provided directly by the compiler doesn't exist in older gcc versions
such as gcc 4.4.

In order to address this, this commit extends the logic to use
<endian.h> definitions if __BYTE_ORDER__ is not provided by the
compiler. This allows libselinux to build properly with gcc 4.4.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-01-25 09:18:16 -05:00
..
include libselinux: fix argument order in get_default_context_with_rolelevel() doc 2017-01-19 11:52:41 -05:00
man libselinux: fix argument order in get_default_context_with_rolelevel() doc 2017-01-19 11:52:41 -05:00
src libselinux/src/regex.c: support old compilers for the endian check 2017-01-25 09:18:16 -05:00
utils libselinux: include errno.h instead of sys/errno.h 2017-01-09 16:00:22 -05:00
LICENSE initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: Add clean-pywrap and clean-rubywrap targets 2016-10-27 10:35:37 -04:00
VERSION Update VERSION and ChangeLog files for 2.6 final release. 2016-10-14 11:31:26 -04:00