mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
Fixed POSIX definition of rdtsc() function
src/stats.h:121:24: error: expected ';' after top level declarator
This commit is contained in:
parent
b12a6fded9
commit
6144ca930d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue