Re: [PATCH] linux-user: Fix incorrect use of feature-test-macros

2021-06-20 Thread Laurent Vivier
Le 26/05/2021 à 05:55, Michael Forney a écrit : > 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 in

Re: [PATCH] linux-user: Fix incorrect use of feature-test-macros

2021-06-14 Thread Laurent Vivier
Le 26/05/2021 à 05:55, Michael Forney a écrit : > 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 in

[PATCH] linux-user: Fix incorrect use of feature-test-macros

2021-05-25 Thread Michael Forney
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 t