diff --git a/llvm/tools/llvm-exegesis/lib/X86/Target.cpp b/llvm/tools/llvm-exegesis/lib/X86/Target.cpp --- a/llvm/tools/llvm-exegesis/lib/X86/Target.cpp +++ b/llvm/tools/llvm-exegesis/lib/X86/Target.cpp @@ -26,7 +26,7 @@ #include #include #include -#if defined(_MSC_VER) +#if defined(_MSC_VER) && (__i386__ || __x86_64__) #include #include #endif