mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 21:57:55 +00:00
Fix the windows build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224412 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f569017cb
commit
9a845bdcd5
@ -49,6 +49,7 @@
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
#if defined(__linux__)
|
||||
static ssize_t LLVM_ATTRIBUTE_UNUSED readCpuInfo(void *Buf, size_t Size) {
|
||||
assert(0);
|
||||
// Note: We cannot mmap /proc/cpuinfo here and then process the resulting
|
||||
@ -67,6 +68,7 @@ static ssize_t LLVM_ATTRIBUTE_UNUSED readCpuInfo(void *Buf, size_t Size) {
|
||||
return -1;
|
||||
return Ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(i386) || defined(__i386__) || defined(__x86__) || defined(_M_IX86)\
|
||||
|| defined(__x86_64__) || defined(_M_AMD64) || defined (_M_X64)
|
||||
|
Loading…
Reference in New Issue
Block a user