Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions llvm/include/llvm/Support/thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ typedef PVOID HANDLE;

namespace llvm {

#if LLVM_ON_UNIX || _WIN32
#if defined(LLVM_ON_UNIX) || defined(_WIN32)

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

public:
#if LLVM_ON_UNIX
#ifdef LLVM_ON_UNIX
using native_handle_type = pthread_t;
using id = pthread_t;
using start_routine_type = void *(*)(void *);
Expand Down