aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/Host.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-04-15 16:46:43 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-04-15 16:46:43 +0000
commit0851ce0d8ed32830515549e41e55cb6e3a857ccc (patch)
tree71acd9aaf4bd227b78f905ee51c0a46945e5d400 /include/llvm/Support/Host.h
parentf971916768b60dfc0591403b3184393ac9d0e263 (diff)
Try to fix the mingw builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Host.h')
-rw-r--r--include/llvm/Support/Host.h2
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