diff options
-rw-r--r-- | include/llvm/Support/Host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Host.h b/include/llvm/Support/Host.h index a916f8a6d2..103a7eb036 100644 --- a/include/llvm/Support/Host.h +++ b/include/llvm/Support/Host.h @@ -19,7 +19,7 @@ #if defined(__linux__) #include <endian.h> #else -#ifndef _MSC_VER +#ifndef LLVM_ON_WIN32 #include <machine/endian.h> #endif #endif |