Unix/Process: Don't use pthread_sigmask if we aren't built with threads
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 8 Oct 2014 08:48:43 +0000 (08:48 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 8 Oct 2014 08:48:43 +0000 (08:48 +0000)
commit8e0fd8cd7c0cb01fa45b8628e3cd016c4f2b309e
treef2f9e12ce152d1ed823a241b62aef4354fd73942
parent5dd4454174c68cc7ba0111657e519fc4fa20fa5d
Unix/Process: Don't use pthread_sigmask if we aren't built with threads

We won't link in pthreads if we weren't built with LLVM_ENABLE_THREADS
which means we won't get access to pthread_sigmask.  Use sigprocmask
instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219288 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Unix/Process.inc