Fix ThreadName.cpp on Windows
authorChristopher Dykes <cdykes@fb.com>
Fri, 23 Jun 2017 01:07:39 +0000 (18:07 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 23 Jun 2017 01:24:36 +0000 (18:24 -0700)
commit7af82bb28731bec1eed740010bca83addc218875
tree9dcb29511eeaafae2b4355483ae3b0a4c9f0286a
parent7f4b7fc668fa11ba4ce68b53eb4f690b5ad924d5
Fix ThreadName.cpp on Windows

Summary: I failed to realize that this helper function also needs to be guarded on `!_WIN32`, because the assertions are false on Windows.

Reviewed By: ot, luciang

Differential Revision: D5304914

fbshipit-source-id: f2564cb2fcbfdc73a2529d4a41df2995748bc3f6
folly/ThreadName.cpp