Fixed POSIX definition of rdtsc() function

src/stats.h:121:24: error: expected ';' after top level declarator
This commit is contained in:
alexey.lysiuk 2018-04-08 11:12:55 +03:00
parent b12a6fded9
commit 6144ca930d

View file

@ -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();
}