forked from OSchip/llvm-project
Remove a dead #ifdef.
Unix/Threading.inc should never be included on _WIN32. See also https://reviews.llvm.org/D30526#1082292 llvm-svn: 331151
This commit is contained in:
parent
297ec32b86
commit
e7c4af32c6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue