Skip to content

Commit 68feec1

Browse files
[𝘀𝗽𝗿] initial version
Created using spr 1.3.7
1 parent 3c31cde commit 68feec1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/Support/thread.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ typedef PVOID HANDLE;
3434

3535
namespace llvm {
3636

37-
#if LLVM_ON_UNIX || _WIN32
37+
#if defined(LLVM_ON_UNIX) || defined(_WIN32)
3838

3939
/// LLVM thread following std::thread interface with added constructor to
4040
/// specify stack size.
@@ -49,7 +49,7 @@ class thread {
4949
}
5050

5151
public:
52-
#if LLVM_ON_UNIX
52+
#ifdef LLVM_ON_UNIX
5353
using native_handle_type = pthread_t;
5454
using id = pthread_t;
5555
using start_routine_type = void *(*)(void *);

0 commit comments

Comments
 (0)