diff options
-rw-r--r-- | llvm/include/llvm/Support/thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/thread.h b/llvm/include/llvm/Support/thread.h index 2d130418a57..9c45418df55 100644 --- a/llvm/include/llvm/Support/thread.h +++ b/llvm/include/llvm/Support/thread.h @@ -57,6 +57,7 @@ struct thread { thread(const thread &) = delete; void join() {} + static unsigned hardware_concurrency() { return 1; }; }; } |