From f11aad515b47e4ee0ce73f8b12df5c2081f87836 Mon Sep 17 00:00:00 2001 From: XMRig Date: Fri, 31 Aug 2018 21:51:34 +0300 Subject: [PATCH] Fixed gcc build. --- src/crypto/CryptoNight_monero.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/crypto/CryptoNight_monero.h b/src/crypto/CryptoNight_monero.h index 3fb18d00..0ceb93fe 100644 --- a/src/crypto/CryptoNight_monero.h +++ b/src/crypto/CryptoNight_monero.h @@ -6,6 +6,7 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett + * Copyright 2018 SChernykh * Copyright 2016-2018 XMRig , * * This program is free software: you can redistribute it and/or modify @@ -22,9 +23,10 @@ * along with this program. If not, see . */ -#ifndef __CRYPTONIGHT_MONERO_H__ -#define __CRYPTONIGHT_MONERO_H__ +#ifndef XMRIG_CRYPTONIGHT_MONERO_H +#define XMRIG_CRYPTONIGHT_MONERO_H +#include #include // VARIANT ALTERATIONS @@ -121,4 +123,4 @@ vst1q_u64((uint64_t*)((base_ptr) + ((offset) ^ 0x30)), vaddq_u64(chunk2, vreinterpretq_u64_u8(_a))); \ } while (0) #endif -#endif /* __CRYPTONIGHT_MONERO_H__ */ +#endif /* XMRIG_CRYPTONIGHT_MONERO_H */