fix mac build 3

This commit is contained in:
t1amak
2025-12-10 12:07:56 +01:00
parent 465a5c6350
commit 75ccbfc7f2
2 changed files with 4 additions and 3 deletions

View File

@@ -36,8 +36,9 @@ uint64_t mx25519_cpu_cycles() {
uint64_t vct;
__asm__ volatile("mrs %0, cntvct_el0" : "=r"(vct));
return vct;
#endif
#else
return clock(); /* fallback */
#endif
}
double mx25519_wall_clock() {