diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-04-30 00:08:06 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-04-30 00:08:06 +0000 |
commit | e7c4af32c630408ba662c3d9cee34be8571f9e76 (patch) | |
tree | c50282b76def1d07efe385379ec00f2afac88dbc /llvm/lib/Support | |
parent | 297ec32b86753d1b90e250d92bec0fc2f5d0a634 (diff) | |
download | bcm5719-llvm-e7c4af32c630408ba662c3d9cee34be8571f9e76.tar.gz bcm5719-llvm-e7c4af32c630408ba662c3d9cee34be8571f9e76.zip |
Remove a dead #ifdef.
Unix/Threading.inc should never be included on _WIN32. See also
https://reviews.llvm.org/D30526#1082292
llvm-svn: 331151
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/Unix/Threading.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Support/Unix/Threading.inc b/llvm/lib/Support/Unix/Threading.inc index 9502c00dd62..e4cccde2e58 100644 --- a/llvm/lib/Support/Unix/Threading.inc +++ b/llvm/lib/Support/Unix/Threading.inc @@ -98,8 +98,6 @@ uint64_t llvm::get_threadid() { return uint64_t(gettid()); #elif defined(__linux__) return uint64_t(syscall(SYS_gettid)); -#elif defined(_WIN32) - return uint64_t(::GetCurrentThreadId()); #else return uint64_t(pthread_self()); #endif |