proper virtual base, remove uneeded sysconf things

This commit is contained in:
lizzie 2026-04-01 00:48:41 +00:00
parent 0b62d7012e
commit 830882c98e
2 changed files with 1 additions and 4 deletions

View file

@ -46,8 +46,6 @@ static MemoryInfo Detect() {
sysctlbyname("vm.swapusage", &vmusage, &sizeof_vmusage, nullptr, 0);
mem_info.TotalPhysicalMemory = ramsize;
mem_info.TotalSwapMemory = vmusage.xsu_total;
#elif defined(__OPENORBIS__)
mem_info.TotalPhysicalMemory = mem_info.TotalSwapMemory = 0;
#elif defined(__FreeBSD__)
u_long physmem, swap_total;
std::size_t sizeof_u_long = sizeof(u_long);