Allow setting thread priorities in Chromium on all but linux platforms.
The previous check was overly broad, so narrowing it down to linux only.

R=pbos@webrtc.org
BUG=

Review URL: https://webrtc-codereview.appspot.com/43929004

Cr-Original-Commit-Position: refs/heads/master@{#8837}
Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc
Cr-Mirrored-Commit: a3ffc56cee936aada92a822ea8a973fc43ad951d
diff --git a/system_wrappers/source/thread_posix.cc b/system_wrappers/source/thread_posix.cc
index e110af5..e326a29 100644
--- a/system_wrappers/source/thread_posix.cc
+++ b/system_wrappers/source/thread_posix.cc
@@ -115,7 +115,7 @@
   DCHECK(thread_checker_.CalledOnValidThread());
   if (!thread_)
     return false;
-#if defined(WEBRTC_CHROMIUM_BUILD)
+#if defined(WEBRTC_CHROMIUM_BUILD) && defined(WEBRTC_LINUX)
   // TODO(tommi): Switch to the same mechanism as Chromium uses for
   // changing thread priorities.
   return true;
@@ -145,7 +145,7 @@
   }
 
   return true;
-#endif  // defined(WEBRTC_CHROMIUM_BUILD)
+#endif  // defined(WEBRTC_CHROMIUM_BUILD) && defined(WEBRTC_LINUX)
 }
 
 void ThreadPosix::Run() {