diff options
| author | Rye <rye@alchemyviewer.org> | 2025-11-02 13:20:01 -0500 |
|---|---|---|
| committer | Rye <rye@alchemyviewer.org> | 2025-11-02 21:40:05 -0500 |
| commit | d2e80039df1712734a6e3b0d811d73f850345157 (patch) | |
| tree | 855bb8f1470a7bd1d0f46065a63f2bec6aa70867 /indra/llcommon/llmemory.cpp | |
| parent | eaafd499ca026157570e9cbd83ef4bb44dd4593b (diff) | |
Fix building with clang on non-darwin platforms
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/llcommon/llmemory.cpp')
| -rw-r--r-- | indra/llcommon/llmemory.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/indra/llcommon/llmemory.cpp b/indra/llcommon/llmemory.cpp index ba48319a16..9617e30f0b 100644 --- a/indra/llcommon/llmemory.cpp +++ b/indra/llcommon/llmemory.cpp @@ -146,9 +146,6 @@ void LLMemory::updateMemoryInfo() LL_WARNS() << "task_info failed" << LL_ENDL; } #elif defined(LL_LINUX) - // Use sysinfo() to get the total physical memory. - struct sysinfo info; - sysinfo(&info); sAllocatedMemInKB = U32Kilobytes::convert(U64Bytes(LLMemory::getCurrentRSS())); // represents the RAM allocated by this process only (in line with the windows implementation) #else //not valid for other systems for now. |
