[BugFix] Fix clang spinloop mwaitx include (#45532)
Signed-off-by: johnny <johnnyychiu@gmail.com>
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ extern "C" {
|
|||||||
|
|
||||||
#if defined(__i386__) || defined(__x86_64__)
|
#if defined(__i386__) || defined(__x86_64__)
|
||||||
#include <cpuid.h>
|
#include <cpuid.h>
|
||||||
#include <mwaitxintrin.h>
|
#include <x86intrin.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CLOCK_MONOTONIC_RAW)
|
#if defined(CLOCK_MONOTONIC_RAW)
|
||||||
|
|||||||
Reference in New Issue
Block a user