mirror of
https://github.com/xmrig/xmrig.git
synced 2025-03-12 09:37:35 +00:00
Fix macOS build.
This commit is contained in:
parent
3f4886bb86
commit
5db458efd4
1 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,11 @@
|
|||
#include "Mem.h"
|
||||
|
||||
|
||||
#if defined(__APPLE__)
|
||||
# include <mach/vm_statistics.h>
|
||||
#endif
|
||||
|
||||
|
||||
void Mem::init(bool enabled)
|
||||
{
|
||||
m_enabled = enabled;
|
||||
|
|
Loading…
Reference in a new issue