ref: 38da7af64eed06cc8c013d8a60b08bc41a8a0675
parent: 04d9277e4931662abe76dddf64bbd05ab8c80377
author: Martin Storsjö <martin@martin.st>
date: Thu Oct 18 20:47:33 EDT 2018
checkasm: Include windows.h for the MSVC ARM64 readtime macro
--- a/tests/checkasm/checkasm.h
+++ b/tests/checkasm/checkasm.h
@@ -106,6 +106,7 @@
#endif
#elif ARCH_AARCH64
#ifdef _MSC_VER
+#include <windows.h>
#define readtime() (_InstructionSynchronizationBarrier(), ReadTimeStampCounter())
#else
static inline uint64_t readtime(void) {