mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Fixed deprecation warning reported by Clang
warning: 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register]
This commit is contained in:
parent
b12c8a8f79
commit
47faaa87fc
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ inline unsigned long long rdtsc()
|
||||||
if (CPU.bRDTSC)
|
if (CPU.bRDTSC)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
register unsigned long long tsc;
|
unsigned long long tsc;
|
||||||
asm volatile ("\trdtsc\n" : "=A" (tsc));
|
asm volatile ("\trdtsc\n" : "=A" (tsc));
|
||||||
return tsc;
|
return tsc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue