diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2024-08-15 18:27:28 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-08-15 20:42:04 +0200 |
commit | ca31784fef301f5797bd29d33ceb2a3a9c1f0539 (patch) | |
tree | 5198703030741eebf2104406b95f82409920ef3e /winsup/cygwin | |
parent | 13c89a620bf6811bc7ad253dacb67774986ab681 (diff) | |
download | newlib-ca31784fef301f5797bd29d33ceb2a3a9c1f0539.zip newlib-ca31784fef301f5797bd29d33ceb2a3a9c1f0539.tar.gz newlib-ca31784fef301f5797bd29d33ceb2a3a9c1f0539.tar.bz2 |
Fix POSIX guards for POSIX.1-2024 extensions
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/include/sys/dirent.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/include/sys/dirent.h b/winsup/cygwin/include/sys/dirent.h index 6272ea3..983b69d 100644 --- a/winsup/cygwin/include/sys/dirent.h +++ b/winsup/cygwin/include/sys/dirent.h @@ -37,7 +37,7 @@ struct dirent char d_name[NAME_MAX + 1]; }; -#if __POSIX_VISIBLE >= 200809 +#if __POSIX_VISIBLE >= 202405 #define DT_FORCE_TYPE 0x01 /* Suggested by SUS Base Specs Issue 8 */ typedef __uint16_t reclen_t; @@ -54,13 +54,13 @@ struct posix_dent __uint32_t __d_internal1; char d_name[NAME_MAX + 1]; }; -#endif /* __POSIX_VISIBLE >= 200809 */ +#endif /* __POSIX_VISIBLE >= 202405 */ #define d_fileno d_ino /* BSD compatible definition */ typedef struct __DIR DIR; -#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809 +#if __BSD_VISIBLE || __POSIX_VISIBLE >= 202405 /* File types for `d_type'. */ enum { @@ -83,7 +83,7 @@ enum DT_WHT = 14 # define DT_WHT DT_WHT }; -#endif /* __BSD_VISIBLE || __POSIX_VISIBLE >= 200809 */ +#endif /* __BSD_VISIBLE || __POSIX_VISIBLE >= 202405 */ #if __BSD_VISIBLE /* Convert between stat structure types and directory types. */ |