From 5465f17916eb2da886c2e53e264402cf5434422b Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Sat, 15 Nov 2025 10:33:27 +0000 Subject: [PATCH] Check for __clang__ too Signed-off-by: TheKodeToad --- launcher/SysInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/SysInfo.cpp b/launcher/SysInfo.cpp index a0891b538..0e2eb2ff7 100644 --- a/launcher/SysInfo.cpp +++ b/launcher/SysInfo.cpp @@ -135,7 +135,7 @@ uint64_t getSystemRamMiB() // transforming bytes -> mib return memsize / 1024 / 1024; } -#elif defined(__GNUC__) +#elif defined(__GNUC__) || defined(__clang__) #warning getSystemRam not implemented on this platform; detecting amount of installed RAM will not work #endif return 0;