Removing the static initializer in ManagedStatic.cpp by using llvm_call_once to initi...
[oota-llvm.git] / lib / Support / Unix / Threading.inc
1 #include <thread>
2
3 void llvm::call_once(once_flag& flag, void (*fptr)(void)) {
4   std::call_once(flag, fptr);
5 }