pipewire/spa/tests
Simon McVittie a652edce0a Only assert about x86_64 struct sizes if ABI is LP64, not x32
The __x86_64__ macro identifies a CPU family, and is unfortunately not
enough to identify a concrete ABI.

The normal x86_64 ABI that is used by practical Linux distributions is
LP64 (i.e. 32-bit int, and 64-bit long and pointer), and defines
__x86_64__ and __LP64__.

x32 is a niche ILP32 ABI (i.e. 32-bit int, long and pointer) for x86_64
CPUs, which has different struct sizes due to sizeof(long) and
sizeof(void *) being smaller. It defines __x86_64__ and __ILP32__.

Signed-off-by: Simon McVittie <smcv@debian.org>
2020-09-07 15:21:17 +00:00
..
benchmark-dict.c tests: make benchmarks less busy 2020-02-07 15:22:35 +01:00
benchmark-pod.c add missing file 2019-01-22 17:47:55 +01:00
meson.build Optionally install examples and tests 2020-06-16 17:58:02 +00:00
stress-ringbuffer.c avoid some useless assignments 2020-05-20 15:24:25 +02:00
test-buffer.c Only assert about x86_64 struct sizes if ABI is LP64, not x32 2020-09-07 15:21:17 +00:00
test-cpp.cpp monitor: remove monitor API and use device 2019-09-20 13:04:14 +02:00
test-node.c Only assert about x86_64 struct sizes if ABI is LP64, not x32 2020-09-07 15:21:17 +00:00
test-pod.c Only assert about x86_64 struct sizes if ABI is LP64, not x32 2020-09-07 15:21:17 +00:00
test-utils.c Only assert about x86_64 struct sizes if ABI is LP64, not x32 2020-09-07 15:21:17 +00:00