From eb6aa9f5d3f214c0e040f09f40c7bcb7117f8c2b Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Tue, 8 Mar 2022 17:17:09 -0500 Subject: [PATCH] - correct the processor fall-through on `stats.h` --- src/common/engine/stats.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/engine/stats.h b/src/common/engine/stats.h index 735931cb5..64b6e9d75 100644 --- a/src/common/engine/stats.h +++ b/src/common/engine/stats.h @@ -140,7 +140,7 @@ inline uint64_t rdtsc() #elif defined __aarch64__ // TODO: Implement and test on ARM64 return 0; -#else // i386 +#elif defined __i386__ // i386 if (CPU.bRDTSC) { uint64_t tsc; @@ -148,6 +148,8 @@ inline uint64_t rdtsc() return tsc; } return 0; +#else + return 0; #endif // __amd64__ } #endif