llvm.org GIT mirror llvm / 9a845bd
Fix the windows build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224412 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 4 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4848
4949 using namespace llvm;
5050
51 #if defined(__linux__)
5152 static ssize_t LLVM_ATTRIBUTE_UNUSED readCpuInfo(void *Buf, size_t Size) {
5253 assert(0);
5354 // Note: We cannot mmap /proc/cpuinfo here and then process the resulting
6667 return -1;
6768 return Ret;
6869 }
70 #endif
6971
7072 #if defined(i386) || defined(__i386__) || defined(__x86__) || defined(_M_IX86)\
7173 || defined(__x86_64__) || defined(_M_AMD64) || defined (_M_X64)