statx (int fd, const char *path, int flags,
unsigned int mask, struct statx *buf)
{
-#ifdef __NR_statx
int ret = INLINE_SYSCALL_CALL (statx, fd, path, flags, mask, buf);
-# ifdef __ASSUME_STATX
+#ifdef __ASSUME_STATX
return ret;
-# else
+#else
if (ret == 0 || errno != ENOSYS)
/* Preserve non-error/non-ENOSYS return values. */
return ret;
-# endif
-#endif
-#ifndef __ASSUME_STATX
- return statx_generic (fd, path, flags, mask, buf);
+ else
+ return statx_generic (fd, path, flags, mask, buf);
#endif
}