summaryrefslogtreecommitdiff
path: root/indra/llcommon/llsys.h
diff options
context:
space:
mode:
authorHoward Stearns <howard.stearns@gmail.com>2022-06-17 16:29:39 -0700
committerHoward Stearns <howard.stearns@gmail.com>2022-06-17 16:29:39 -0700
commit33fe18c335375ecdaf57ddd0138fc7a6cb227843 (patch)
treefb2ab844ae6f5f780e77f934431258843c69926d /indra/llcommon/llsys.h
parent2037e4008098e884d2b136b9ac24304f880288ed (diff)
SL-17485-b - Attempt to make teamcity builds happy by not referencing a newview global from an llcommon file.
Diffstat (limited to 'indra/llcommon/llsys.h')
-rw-r--r--indra/llcommon/llsys.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llcommon/llsys.h b/indra/llcommon/llsys.h
index 5ab97939b9..b2f9b6a4ab 100644
--- a/indra/llcommon/llsys.h
+++ b/indra/llcommon/llsys.h
@@ -113,7 +113,10 @@ public:
LLMemoryInfo(); ///< Default constructor
void stream(std::ostream& s) const; ///< output text info to s
- U32Kilobytes getPhysicalMemoryKB() const;
+ U32Kilobytes getPhysicalMemoryKB() const;
+#if LL_DARWIN
+ static U32Kilobytes getHardwareMemSize(); // Because some Mac linkers won't let us reference extern gSysMemory from a different lib.
+#endif
//get the available memory infomation in KiloBytes.
static void getAvailableMemoryKB(U32Kilobytes& avail_physical_mem_kb, U32Kilobytes& avail_virtual_mem_kb);