[llvm] r316005 - Fix pthread_[gs]etname_np detection

Sam McCall via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 08:32:17 PDT 2017


Author: sammccall
Date: Tue Oct 17 08:32:17 2017
New Revision: 316005

URL: http://llvm.org/viewvc/llvm-project?rev=316005&view=rev
Log:
Fix pthread_[gs]etname_np detection

Modified:
    llvm/trunk/include/llvm/Config/config.h.cmake

Modified: llvm/trunk/include/llvm/Config/config.h.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Config/config.h.cmake?rev=316005&r1=316004&r2=316005&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Config/config.h.cmake (original)
+++ llvm/trunk/include/llvm/Config/config.h.cmake Tue Oct 17 08:32:17 2017
@@ -113,6 +113,12 @@
 /* Define to 1 if you have the `pthread' library (-lpthread). */
 #cmakedefine HAVE_LIBPTHREAD ${HAVE_LIBPTHREAD}
 
+/* Define to 1 if you have the `pthread_getname_np' function. */
+#cmakedefine HAVE_PTHREAD_GETNAME_NP ${HAVE_PTHREAD_GETNAME_NP}
+
+/* Define to 1 if you have the `pthread_setname_np' function. */
+#cmakedefine HAVE_PTHREAD_SETNAME_NP ${HAVE_PTHREAD_SETNAME_NP}
+
 /* Define to 1 if you have the `shell32' library (-lshell32). */
 #cmakedefine HAVE_LIBSHELL32 ${HAVE_LIBSHELL32}
 




More information about the llvm-commits mailing list