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
- rCTE Clang Tools Extra
Event Timeline
clangd/Threading.cpp | ||
---|---|---|
7 | nit: just ifdef? |
clangd/Threading.cpp | ||
---|---|---|
104 | 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.
nit: just ifdef?