mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-01 09:43:03 -05:00
Fixed bug
This commit is contained in:
@@ -34,12 +34,12 @@
|
|||||||
|
|
||||||
#include "sha256.h"
|
#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 */
|
/* Miscompile with icc 14.0.0 (at least), so don't use restrict there */
|
||||||
#define restrict
|
#define restrict
|
||||||
#elif __STDC_VERSION__ >= 199901L
|
#elif __STDC_VERSION__ >= 199901L
|
||||||
/* Have restrict */
|
/* Have restrict */
|
||||||
#elif defined(__GNUC__) && !defined(_MSC_VER)
|
#elif defined(__GNUC__)
|
||||||
#define restrict __restrict
|
#define restrict __restrict
|
||||||
#else
|
#else
|
||||||
#define restrict
|
#define restrict
|
||||||
|
|||||||
Reference in New Issue
Block a user