Commit 38da7af6 authored by Martin Storsjö's avatar Martin Storsjö

checkasm: Include windows.h for the MSVC ARM64 readtime macro

parent 04d9277e
......@@ -106,6 +106,7 @@ static inline uint64_t readtime(void) {
#endif
#elif ARCH_AARCH64
#ifdef _MSC_VER
#include <windows.h>
#define readtime() (_InstructionSynchronizationBarrier(), ReadTimeStampCounter())
#else
static inline uint64_t readtime(void) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment