diff options
Diffstat (limited to 'ldso/include/dl-syscall.h')
| -rw-r--r-- | ldso/include/dl-syscall.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h index 9ec0eac60..c143b8d45 100644 --- a/ldso/include/dl-syscall.h +++ b/ldso/include/dl-syscall.h @@ -141,7 +141,7 @@ static __always_inline int _dl_stat(const char *file_name,  {  	return _dl_newfstatat(AT_FDCWD, file_name, buf, 0);  } -#elif defined __NR_stat && (!defined(__UCLIBC_USE_TIME64__) || defined(__sparc__)) || (LINUX_VERSION_CODE <= KERNEL_VERSION(5,1,0)) +#elif defined __NR_stat && (!defined(__UCLIBC_USE_TIME64__) || defined(__sparc__) || (LINUX_VERSION_CODE <= KERNEL_VERSION(5,1,0)))  # define __NR__dl_stat __NR_stat  static __always_inline _syscall2(int, _dl_stat, const char *, file_name,                          struct stat *, buf) @@ -168,7 +168,7 @@ static __always_inline int _dl_stat(const char *file_name,  #if defined __NR_fstat64 && !defined __NR_fstat && (!defined(__UCLIBC_USE_TIME64__) || defined(__sparc__))  # define __NR__dl_fstat __NR_fstat64  static __always_inline _syscall2(int, _dl_fstat, int, fd, struct stat *, buf) -#elif defined __NR_fstat +#elif defined __NR_fstat && !defined __UCLIBC_USE_TIME64__ || defined(__sparc__)  # define __NR__dl_fstat __NR_fstat  static __always_inline _syscall2(int, _dl_fstat, int, fd, struct stat *, buf)  #elif defined __NR_statx && defined __UCLIBC_HAVE_STATX__  | 
