Hi Dmitry, Dmitry Chestnykh wrote,
If the conditions are not grouped we can reach this block even if `__NR_stat` is not defined.
`defined __NR_stat && ((!defined(__UCLIBC_USE_TIME64__) || defined(__sparc__))` gives us false but `LINUX_VERSION_CODE <= KERNEL_VERSION(5,1,0))` may give us true. So if linux headers version is below 5.1.0 and __NR_stat is not defined we can have compilation error
Signed-off-by: Dmitry Chestnykh dm.chestnykh@gmail.com
Applied and pushed, thanks, best regards Waldemar