proper virtual base, remove uneeded sysconf things

This commit is contained in:
lizzie
2026-04-01 00:48:41 +00:00
parent df3e0c7693
commit 5b285149b6
2 changed files with 1 additions and 3 deletions
-2
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);