X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2FThreadName.cpp;h=3e2d9aab189218a34db1a0b5067ccaa7eb69fc6a;hp=acd6163f66ca6be80d0de1e751e3c73a042042e1;hb=6a7b70f8da1bc06d188aa2e67449a651a16ff5b5;hpb=24c892da36fc7d4f8cad6a3c94bdf6f1024d99c4 diff --git a/folly/ThreadName.cpp b/folly/ThreadName.cpp index acd6163f..3e2d9aab 100644 --- 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(