Fix macOS compile.

This commit is contained in:
XMRig 2018-03-14 20:22:30 +07:00
parent 2c2b3d2f36
commit 04c02d4add

View file

@ -32,13 +32,13 @@
#include "xmrig.h" #include "xmrig.h"
bool Mem::m_doubleHash = false; bool Mem::m_doubleHash = false;
int Mem::m_algo = 0; int Mem::m_algo = 0;
int Mem::m_flags = 0; int Mem::m_flags = 0;
int Mem::m_threads = 0; int Mem::m_threads = 0;
size_t Mem::m_offset = 0; size_t Mem::m_offset = 0;
size_t Mem::m_size = 0; size_t Mem::m_size = 0;
uint8_t *Mem::m_memory = nullptr; alignas(16) uint8_t *Mem::m_memory = nullptr;
cryptonight_ctx *Mem::create(int threadId) cryptonight_ctx *Mem::create(int threadId)