[compiler-rt] Fix compile error on ohos (PR #118193)
Peng Huang via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 1 10:20:39 PST 2024
phuang wrote:
Thanks for the review.
I checked ohos's musl libc header. It doesn't have `get_current_dir_name()`, however it does check `_GNU_SOURCE`. So checking `_GNU_SOURCE` may not work.
https://gitee.com/openharmony/third_party_musl/blob/master/include/unistd.h#L194
https://github.com/llvm/llvm-project/pull/118193
More information about the llvm-commits
mailing list