aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Host.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2009-11-19 12:17:31 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2009-11-19 12:17:31 +0000
commitac07b3df3e1580b9689d59778cea95afbe75cf65 (patch)
tree9177a77c461536f6e1ecd5209051ff5db19fdbd2 /lib/System/Host.cpp
parentcc9fa81fe1675b29fa813945c52abee692229143 (diff)
Unbreak x64 MSVC build. Patch by Nicolas Capens!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Host.cpp')
-rw-r--r--lib/System/Host.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/System/Host.cpp b/lib/System/Host.cpp
index 37591a57b0..e112698349 100644
--- a/lib/System/Host.cpp
+++ b/lib/System/Host.cpp
@@ -22,6 +22,9 @@
#ifdef LLVM_ON_WIN32
#include "Win32/Host.inc"
#endif
+#ifdef _MSC_VER
+#include <intrin.h>
+#endif
//===----------------------------------------------------------------------===//
//