projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the CMake build on Windows when using PThreads
[folly.git]
/
folly
/
ThreadName.cpp
diff --git
a/folly/ThreadName.cpp
b/folly/ThreadName.cpp
index
acd6163
..
3e2d9aa
100644
(file)
--- a/
folly/ThreadName.cpp
+++ b/
folly/ThreadName.cpp
@@
-58,7
+58,7
@@
bool canSetOtherThreadName() {
}
bool setThreadName(std::thread::id tid, StringPiece name) {
-#if !FOLLY_HAVE_PTHREAD
+#if !FOLLY_HAVE_PTHREAD
|| _WIN32
return false;
#else
static_assert(