projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
297ec32
)
Remove a dead #ifdef.
author
Nico Weber
<nicolasweber@gmx.de>
Mon, 30 Apr 2018 00:08:06 +0000
(
00:08
+0000)
committer
Nico Weber
<nicolasweber@gmx.de>
Mon, 30 Apr 2018 00:08:06 +0000
(
00:08
+0000)
Unix/Threading.inc should never be included on _WIN32. See also
https://reviews.llvm.org/D30526#1082292
llvm-svn: 331151
llvm/lib/Support/Unix/Threading.inc
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Unix/Threading.inc
b/llvm/lib/Support/Unix/Threading.inc
index
9502c00
..
e4cccde
100644
(file)
--- 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