diff options
Diffstat (limited to 'src/btop_shared.hpp')
-rw-r--r-- | src/btop_shared.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/btop_shared.hpp b/src/btop_shared.hpp index cb6c0fe..1d1c71c 100644 --- a/src/btop_shared.hpp +++ b/src/btop_shared.hpp @@ -151,12 +151,14 @@ namespace Gpu { // vector<proc_info> compute_processes = {}; }; +#ifdef __linux__ namespace Nvml { extern bool shutdown(); } namespace Rsmi { extern bool shutdown(); } +#endif //* Collect gpu stats and temperatures auto collect(bool no_update = false) -> vector<gpu_info>&; |