Use spin only on OpenBSD

This commit is contained in:
lucic71 2022-08-23 20:45:53 +03:00
parent 62ae24861e
commit 3a00de35a4
1 changed files with 2 additions and 0 deletions

View File

@ -45,7 +45,9 @@ struct cpu_usage {
long system;
long idle;
long total;
#if defined(__OpenBSD__)
int spin;
#endif
#else
int user;
int nice;