1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 16:33:32 -05:00

Fixed bug

This commit is contained in:
MoneroOcean
2020-07-16 17:34:44 -07:00
parent 087715bd93
commit b9a84ef8e1

View File

@@ -34,12 +34,12 @@
#include "sha256.h"
#ifdef __ICC
#if defined(__ICC) || defined(_MSC_VER)
/* Miscompile with icc 14.0.0 (at least), so don't use restrict there */
#define restrict
#elif __STDC_VERSION__ >= 199901L
/* Have restrict */
#elif defined(__GNUC__) && !defined(_MSC_VER)
#elif defined(__GNUC__)
#define restrict __restrict
#else
#define restrict