diff options
author | Michael Forney <mforney@mforney.org> | 2021-05-25 20:55:31 -0700 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-06-20 16:40:11 +0200 |
commit | febf6fade63801ebca765797fa2ad9de8d9f2700 (patch) | |
tree | c7f4343f90beac729d0260d7b4bd64fd8381890a /ui | |
parent | 8a589aeb271bb470884f960e76cd6a7c89c022c9 (diff) |
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>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions