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