mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Check for __clang__ too
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
7f7649f13d
commit
5465f17916
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue