Skip to content

Commit b6597f5

Browse files
committed
[gn] port 1e65b76
Apparently DragonFly BSD and Solaris/illumos call these APIs `pthread_get_name_np` / `pthread_set_name_np` (with an extra underscore) instead of `pthread_getname_np` / `pthread_setname_np`.
1 parent 366ac8c commit b6597f5

File tree

1 file changed

+2
-0
lines changed
  • llvm/utils/gn/secondary/llvm/include/llvm/Config

1 file changed

+2
-0
lines changed

llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ write_cmake_config("config") {
9797
"HAVE_LIBPFM=",
9898
"HAVE_LIBPSAPI=",
9999
"HAVE_MALLCTL=",
100+
"HAVE_PTHREAD_GET_NAME_NP=",
101+
"HAVE_PTHREAD_SET_NAME_NP=",
100102
"HAVE_SIGNAL_H=1",
101103
"HAVE_SYS_STAT_H=1",
102104
"HAVE_SYS_TYPES_H=1",

0 commit comments

Comments
 (0)