Files
flatpak/tests
Simon McVittie 836b0fb604 try-syscall: Use compiler-predefined macros to detect mips ABI
_MIPS_SIM_ABI32 etc. are defined by Linux <asm/sgidefs.h>, which is
included by glibc <sys/syscall.h> (which defers to Linux headers to
get syscall numbers), but not by musl <sys/syscall.h>.

_ABIO32 etc. are predefined by the compiler, so they are always
available, regardless of libc. References:

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=27d54b2a6c18ef1ae50f1a5b432d590438445b90
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=0ea339ea4d9c3e04ae17da6bf389617eb0251e57

Originally containers/bubblewrap#492 in bubblewrap.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-06-27 10:02:25 -07:00
..
2016-02-25 15:27:37 +01:00
2019-12-17 14:55:13 +01:00
2021-05-25 11:11:03 +02:00
2016-02-25 19:03:09 +01:00
2021-08-23 12:19:03 +02:00
2020-03-20 15:37:10 +01:00
2020-03-20 15:37:10 +01:00
2021-05-25 11:11:03 +02:00