diff options
author | Oz Linden <oz@lindenlab.com> | 2014-12-22 16:42:55 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-12-22 16:42:55 -0500 |
commit | 111900150d7e80f4f97f26ceb413aea2a5965d73 (patch) | |
tree | 1e7c843036f8bac7e4e4cb92f713515962128a5f | |
parent | a261776a4753985df86454ee3c27e8d830e6c3c1 (diff) |
work arounds to compile on linux
-rwxr-xr-x | indra/llcommon/llprocessor.cpp | 2 | ||||
-rwxr-xr-x | indra/llcommon/llsys.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcommon/llprocessor.cpp b/indra/llcommon/llprocessor.cpp index 1ee3c7edb0..e3e1d0c391 100755 --- a/indra/llcommon/llprocessor.cpp +++ b/indra/llcommon/llprocessor.cpp @@ -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")); diff --git a/indra/llcommon/llsys.cpp b/indra/llcommon/llsys.cpp index c9db73eb99..1a66612e87 100755 --- a/indra/llcommon/llsys.cpp +++ b/indra/llcommon/llsys.cpp @@ -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) { |