From 6144ca930dfdb4968f00df831f6f2c6c16040dc2 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 8 Apr 2018 11:12:55 +0300 Subject: [PATCH] Fixed POSIX definition of rdtsc() function src/stats.h:121:24: error: expected ';' after top level declarator --- src/stats.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats.h b/src/stats.h index c51a3045b..e9f11aed0 100644 --- a/src/stats.h +++ b/src/stats.h @@ -118,7 +118,7 @@ inline unsigned __int64 rdtsc() return __rdtsc(); } #elif defined __APPLE__ && (defined __i386__ || defined __x86_64__) -inline unsigned __int64 rdtsc() +inline uint64_t rdtsc() { return __builtin_ia32_rdtsc(); }