Since llvm/Config/config.h is not available on standalone builds,
use __USE_POSIX instead of HAVE_PTHREAD_H and get rid of the include.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clangd/Threading.cpp | ||
---|---|---|
7 ↗ | (On Diff #171929) | nit: just ifdef? |
clangd/Threading.cpp | ||
---|---|---|
104 ↗ | (On Diff #171929) | the posix seems redundant here too |
Comment Actions
Clangd doesn't support/respect that, and I don't think anyone's building in that configuration.
If this causes actual problems e.g. with bots, we should sort out a cmake solution so such bots don't build clangd.