OSDN Git Service

Fix the MinGW builder. Apparently std::call_once and
authorZachary Turner <zturner@google.com>
Sat, 21 Jun 2014 00:24:51 +0000 (00:24 +0000)
committerZachary Turner <zturner@google.com>
Sat, 21 Jun 2014 00:24:51 +0000 (00:24 +0000)
commit9222a2375f1f2cb9528c6d9b32238f6bac434d94
treef35c5bccc50cf5e9b3bd587b7c90258dfc770af5
parent45fdc3d534113b4b5e6050f5843f7f74be56d2ae
Fix the MinGW builder.  Apparently std::call_once and
std::recursive_mutex are not available on MinGW and breaks the
builder.  Revert to using a function local static and sys::Mutex
just to get the tree green until we figure out a better solution.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211424 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/ManagedStatic.cpp