[PATCH] D53935: Delete dependency on config.h

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 31 08:32:41 PDT 2018


sammccall added inline comments.


================
Comment at: clangd/Threading.cpp:104
 void setThreadPriority(std::thread &T, ThreadPriority Priority) {
-#if defined(HAVE_PTHREAD_H) && defined(__linux__)
+#if defined(__USE_POSIX) && defined(__linux__)
   sched_param priority;
----------------
the posix seems redundant here too


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53935





More information about the cfe-commits mailing list