xemu/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 linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
generic linux-user: target: signal: Support TARGET_SS_AUTODISARM 2021-02-13 22:50:50 +01:00
hexagon linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
host linux-user/: fix some comment spelling errors 2020-09-17 20:39:22 +02:00
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 linux-user/mips: Support the n32 ABI for the R5900 2021-02-15 12:10:03 +01:00
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 linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
xtensa linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
cpu_loop-common.h cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
elfload.c linux-user: Check for ieee128 fpbits in PPC64 HWCAP2 feature list 2021-06-20 16:36:40 +02:00
errno_defs.h Supply missing header guards 2019-06-12 13:20:21 +02:00
exit.c gdbstub: drop CPUEnv from gdb_exit() 2021-01-18 10:05:06 +00:00
fd-trans.c linux-user,netlink: add IFLA_BRPORT_MRP_RING_OPEN, IFLA_BRPORT_MRP_IN_OPEN 2020-11-17 15:22:52 +01:00
fd-trans.h linux-user: move TargetFdTrans functions to their own file 2018-09-25 22:36:47 +02:00
flat.h linux-user/: fix some comment spelling errors 2020-09-17 20:39:22 +02:00
flatload.c exec: Use cpu_untagged_addr in g2h; split out g2h_untagged 2021-02-16 11:04:53 +00:00
ioctls.h linux-user: Conditionalize TUNSETVNETLE 2021-01-07 05:09:06 -10:00
linux_loop.h linux-user: Add loop control ioctls 2016-07-19 15:22:33 +03:00
linuxload.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
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 linux-user: Provide safe_syscall for fixing races between signals and syscalls 2016-05-27 14:49:51 +03:00
semihost.c Do not include cpu.h if it's not really necessary 2021-05-02 17:24:51 +02:00
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 Supply missing header guards 2019-06-12 13:20:21 +02:00
strace.c linux-user: Add strace support for printing arguments of llseek 2021-05-15 21:41:47 +02:00
strace.list linux-user: Add copy_file_range to strace.list 2021-05-18 07:09:58 +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 linux-user: Add support for btrfs ioctls used to scrub a filesystem 2020-09-03 01:09:35 +02:00
syscall.c linux-user: Fix incorrect use of feature-test-macros 2021-06-20 16:40:11 +02:00
target_flat.h Supply missing header guards 2019-06-12 13:20:21 +02:00
trace-events linux-user/trace-events: fix minor typo in format string 2021-06-17 16:09:11 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
uaccess.c linux-user: Use signed lengths in uaccess.c 2021-04-07 18:55:27 +02:00
uname.c cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
uname.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
vm86.c linux-user: Use `qemu_log' for non-strace logging 2020-02-19 11:17:40 +01:00