[builtins] Make some ISA macro checks work with MSVC

llvm-svn: 299786
This commit is contained in:
Reid Kleckner
2017-04-07 17:18:43 +00:00
parent f6388b182d
commit bfad55fbc0
3 changed files with 3 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ uintptr_t GetCurrentProcess(void);
*/
void __clear_cache(void *start, void *end) {
#if __i386__ || __x86_64__
#if __i386__ || __x86_64__ || defined(_M_IX86) || defined(_M_X64)
/*
* Intel processors have a unified instruction and data cache
* so there is nothing to do

View File

@@ -4,7 +4,7 @@
/* double __floatdidf(di_int a); */
#ifdef __x86_64__
#if defined(__x86_64__) || defined(_M_X64)
#include "../int_lib.h"

View File

@@ -2,7 +2,7 @@
* License. See LICENSE.TXT for details.
*/
#ifdef __x86_64__
#if defined(__x86_64__) || defined(_M_X64)
#include "../int_lib.h"