Windows: include rdrand.h file only in Windows case since it is not yet included for other OSes

This commit is contained in:
Mounir IDRASSI 2019-11-09 00:20:22 +01:00
parent 8c6838e85c
commit 3818b443c3
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F

View File

@ -2,7 +2,9 @@
#include "cpu.h"
#include "misc.h"
#if defined(_MSC_VER) && !defined(_UEFI)
#include "rdrand.h"
#endif
#ifndef EXCEPTION_EXECUTE_HANDLER
#define EXCEPTION_EXECUTE_HANDLER 1