From 04c02d4add9dcb2c2141f3e728c8665ef6184131 Mon Sep 17 00:00:00 2001 From: XMRig Date: Wed, 14 Mar 2018 20:22:30 +0700 Subject: [PATCH] Fix macOS compile. --- src/Mem.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Mem.cpp b/src/Mem.cpp index 9c608f73c..b32d2196e 100644 --- a/src/Mem.cpp +++ b/src/Mem.cpp @@ -32,13 +32,13 @@ #include "xmrig.h" -bool Mem::m_doubleHash = false; -int Mem::m_algo = 0; -int Mem::m_flags = 0; -int Mem::m_threads = 0; -size_t Mem::m_offset = 0; -size_t Mem::m_size = 0; -uint8_t *Mem::m_memory = nullptr; +bool Mem::m_doubleHash = false; +int Mem::m_algo = 0; +int Mem::m_flags = 0; +int Mem::m_threads = 0; +size_t Mem::m_offset = 0; +size_t Mem::m_size = 0; +alignas(16) uint8_t *Mem::m_memory = nullptr; cryptonight_ctx *Mem::create(int threadId)