Removed align.h macro

This commit is contained in:
BenDroid 2018-03-15 21:44:21 +01:00
parent 0a7862dd39
commit e6900195f5
5 changed files with 4 additions and 41 deletions

View file

@ -29,7 +29,6 @@
#include <stdint.h>
#include "align.h"
#include "net/JobId.h"
@ -70,7 +69,7 @@ public:
bool operator==(const Job &other) const;
private:
VAR_ALIGN(16, uint8_t m_blob[84]); // Max blob size is 84 (75 fixed + 9 variable), aligned to 96. https://github.com/xmrig/xmrig/issues/1 Thanks fireice-uk.
alignas(16) uint8_t m_blob[84]; // Max blob size is 84 (75 fixed + 9 variable), aligned to 96. https://github.com/xmrig/xmrig/issues/1 Thanks fireice-uk.
bool m_nicehash;
int m_poolId;