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 acd6163f66ca6be80d0de1e751e3c73a042042e1..3e2d9aab189218a34db1a0b5067ccaa7eb69fc6a 100644
(file)
--- a/
folly/ThreadName.cpp
+++ b/
folly/ThreadName.cpp
@@
-58,7
+58,7
@@
bool canSetOtherThreadName() {
}
bool setThreadName(std::thread::id tid, StringPiece name) {
}
bool setThreadName(std::thread::id tid, StringPiece name) {
-#if !FOLLY_HAVE_PTHREAD
+#if !FOLLY_HAVE_PTHREAD
|| _WIN32
return false;
#else
static_assert(
return false;
#else
static_assert(