swift
e7b2bc0d - Basic: Adjust condition for include after macro removal in upstream LLVM

Commit
162 days ago
Basic: Adjust condition for include after macro removal in upstream LLVM `HAVE_SYS_RESOURCE_H` was removed in https://github.com/llvm/llvm-project/pull/123288, so this header is no longer included at this particular location on rebranch, which breaks the Linux build, where it is not transitively included either. Use the same condition as in the use site (`getChildrenMaxResidentSetSize`) instead. Also, don't wrap `HAVE_GETRUSAGE` in `defined()` in case it does get defined to 0.
Author
Committer
Parents
Loading