musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h 2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 81623562..cb8cb248 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -50,7 +50,7 @@ int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int
#define DTTOIF(x) ((x)<<12)
#endif
-#ifdef _LARGEFILE64_SOURCE
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define dirent64 dirent
#define readdir64 readdir
#define readdir64_r readdir_r
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月04日 18:48:12 +0000

AltStyle によって変換されたページ (->オリジナル) /