qemu/linux-user
Michael Forney febf6fade6 linux-user: Fix incorrect use of feature-test-macros
The _POSIX_C_SOURCE and _XOPEN_SOURCE macros are used by the
application to indicate to libc which declarations it should expose.
Since qemu does not define them anywhere, it does not make sense
to check their value.

Instead, since the intent is to determine whether the host struct
stat supports the st_*tim fields, use the configure test result
which does exactly that.

Signed-off-by: Michael Forney <mforney@mforney.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210526035531.7871-1-mforney@mforney.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2021-06-20 16:40:11 +02:00
..
aarch64 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
alpha linux-user/alpha: Define TARGET_ARCH_HAS_KA_RESTORER 2021-05-18 07:10:45 +02:00
arm softfloat: Introduce Floatx80RoundPrec 2021-06-03 14:04:02 -07:00
cris
generic
hexagon linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
host
hppa linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
i386 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
m68k linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
microblaze linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
mips linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
mips64
nios2 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
openrisc linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
ppc target/ppc: Replace POWERPC_EXCP_BRANCH with DISAS_NORETURN 2021-05-19 10:30:29 +10:00
riscv linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
s390x linux-user/s390x: Handle vector regs in signal stack 2021-05-18 07:09:36 +02:00
sh4 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
sparc linux-user/sparc: Implement sparc64 rt signals 2021-05-15 21:43:23 +02:00
x86_64
xtensa linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
cpu_loop-common.h
elfload.c linux-user: Check for ieee128 fpbits in PPC64 HWCAP2 feature list 2021-06-20 16:36:40 +02:00
errno_defs.h
exit.c
fd-trans.c
fd-trans.h
flat.h
flatload.c
ioctls.h
linux_loop.h
linuxload.c
main.c tcg: Re-order tcg_region_init vs tcg_prologue_init 2021-06-11 09:26:28 -07:00
meson.build linux-user/sparc: Merge sparc64/ into sparc/ 2021-05-15 21:43:23 +02:00
mmap.c linux-user: Set CF_PARALLEL when mapping shared memory 2021-06-15 08:28:56 +02:00
qemu.h linux-user: Pass CPUArchState to do_sigaltstack 2021-05-15 21:43:23 +02:00
safe-syscall.S
semihost.c
signal-common.h linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
signal.c linux-user: Let sigaction query SIGKILL/SIGSTOP 2021-06-20 16:21:01 +02:00
socket.h
strace.c
strace.list linux-user: Add copy_file_range to strace.list 2021-05-18 07:09:58 +02:00
syscall.c linux-user: Fix incorrect use of feature-test-macros 2021-06-20 16:40:11 +02:00
syscall_defs.h linux-user/alpha: Share code for TARGET_NR_sigaction 2021-05-18 07:10:46 +02:00
syscall_types.h
target_flat.h
trace-events linux-user/trace-events: fix minor typo in format string 2021-06-17 16:09:11 +02:00
trace.h
uaccess.c
uname.c
uname.h
vm86.c