work arounds to compile on linux
parent
a261776a47
commit
111900150d
|
|
@ -778,7 +778,7 @@ private:
|
|||
setInfo(eFamily, family);
|
||||
}
|
||||
|
||||
setInfo(eFamilyName, compute_CPUFamilyName(cpuinfo["vendor_id"].c_str(), family));
|
||||
setInfo(eFamilyName, compute_CPUFamilyName(cpuinfo["vendor_id"].c_str(), family, 0));
|
||||
|
||||
// setInfo(eExtendedModel, getSysctlInt("machdep.cpu.extmodel"));
|
||||
// setInfo(eBrandID, getSysctlInt("machdep.cpu.brand"));
|
||||
|
|
|
|||
|
|
@ -677,6 +677,7 @@ U32 LLOSInfo::getProcessVirtualSizeKB()
|
|||
#if LL_WINDOWS
|
||||
#endif
|
||||
#if LL_LINUX
|
||||
# define STATUS_SIZE 2048
|
||||
LLFILE* status_filep = LLFile::fopen("/proc/self/status", "rb");
|
||||
if (status_filep)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue