Index: source/lib/sysdep/os/linux/lcpu.cpp =================================================================== --- source/lib/sysdep/os/linux/lcpu.cpp +++ source/lib/sysdep/os/linux/lcpu.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 2021 Wildfire Games. +/* Copyright (C) 2022 Wildfire Games. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -48,7 +48,7 @@ else #endif { - long res = sysconf(_SC_NPROCESSORS_CONF); + long res = sysconf(_SC_NPROCESSORS_ONLN); ENSURE(res != -1); numProcessors = (size_t)res; }