[libc-commits] [PATCH] D147738: [libc] Enable linux directory entries syscalls in riscv64
Mikhail Ramalho via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon May 1 13:26:37 PDT 2023
mikhail.ramalho added inline comments.
================
Comment at: libc/include/llvm-libc-types/struct_linux_dirent.h:1
+//===-- Definition of type struct linux dirent ----------------------------===//
+//
----------------
sivachandra wrote:
> This is an internal type so should not be define in a public header file.
This sounds contradictory to what @michaelrj suggested in one of his comments:
`glibc not providing the struct publicly doesn't mean that we can't. I think it's cleaner to have the type defined in llvm-libc-types and then use #ifdef to include the appropriate struct.`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147738/new/
https://reviews.llvm.org/D147738
More information about the libc-commits
mailing list