Morph
99ceb03a1c
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
ameerj
923decae5a
common: Reduce unused includes
4 years ago
Jan Beich
3b1683a152
common: switch to nullptr for sysctl's empty new value
6 years ago
Jan Beich
e6085ea35f
common: add sysconf() fallback
src/common/memory_detect.cpp:15:10: fatal error: 'sys/sysinfo.h' file not found
#include <sys/sysinfo.h>
^~~~~~~~~~~~~~~
6 years ago
Morph
b2af304918
Fix macOS code and change "Swapfile" to "Swap"
6 years ago
Morph
9a36d8600c
main: Log host system memory parameters
Logs both physical memory and swapfile sizes, this is useful for support.
6 years ago