statx.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* DO NOT EDIT THIS FILE.
  2. It has been auto-edited by fixincludes from:
  3. "/data/jenkins/workspace/GNU-toolchain/arm-10-2/build-mingw-aarch64-none-linux-gnu/install/aarch64-none-linux-gnu/libc/usr/include/bits/statx.h"
  4. This had to be done to correct non-standard usages in the
  5. original, manufacturer supplied header file. */
  6. /* statx-related definitions and declarations. Linux version.
  7. Copyright (C) 2018-2021 Free Software Foundation, Inc.
  8. This file is part of the GNU C Library.
  9. The GNU C Library is free software; you can redistribute it and/or
  10. modify it under the terms of the GNU Lesser General Public
  11. License as published by the Free Software Foundation; either
  12. version 2.1 of the License, or (at your option) any later version.
  13. The GNU C Library is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. Lesser General Public License for more details.
  17. You should have received a copy of the GNU Lesser General Public
  18. License along with the GNU C Library; if not, see
  19. <https://www.gnu.org/licenses/>. */
  20. /* This interface is based on <linux/stat.h> in Linux. */
  21. #ifndef _SYS_STAT_H
  22. # error Never include <bits/statx.h> directly, include <sys/stat.h> instead.
  23. #endif
  24. /* Use the Linux kernel header if available. */
  25. /* Use "" to work around incorrect macro expansion of the
  26. __has_include argument (GCC PR 80005). */
  27. #ifdef __has_include
  28. # if __has_include ("__linux__/stat.h")
  29. # include "linux/stat.h"
  30. # ifdef STATX_TYPE
  31. # define __statx_timestamp_defined 1
  32. # define __statx_defined 1
  33. # endif
  34. # endif
  35. #endif
  36. #include <bits/statx-generic.h>