mirror of
https://codeberg.org/wownero/RandomX.git
synced 2026-10-17 05:41:32 +02:00
__cpuidex: explicit MSVC check, fix MinGW GCC 5.3 cross-compilation
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#if defined(_M_X64) || defined(__x86_64__)
|
||||
#define HAVE_CPUID
|
||||
#ifdef _WIN32
|
||||
#if defined(_MSC_VER)
|
||||
#include <intrin.h>
|
||||
#define cpuid(info, x) __cpuidex(info, x, 0)
|
||||
#else //GCC
|
||||
|
||||
Reference in New Issue
Block a user