We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c31cde commit 68feec1Copy full SHA for 68feec1
llvm/include/llvm/Support/thread.h
@@ -34,7 +34,7 @@ typedef PVOID HANDLE;
34
35
namespace llvm {
36
37
-#if LLVM_ON_UNIX || _WIN32
+#if defined(LLVM_ON_UNIX) || defined(_WIN32)
38
39
/// LLVM thread following std::thread interface with added constructor to
40
/// specify stack size.
@@ -49,7 +49,7 @@ class thread {
49
}
50
51
public:
52
-#if LLVM_ON_UNIX
+#ifdef LLVM_ON_UNIX
53
using native_handle_type = pthread_t;
54
using id = pthread_t;
55
using start_routine_type = void *(*)(void *);
0 commit comments