mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-04-25 21:57:12 +02:00
Fix compile time error in Chrono library.
The get tick count functions were defined as members of the Chrono class.
This commit is contained in:
parent
a3169ad7d2
commit
e3ecc782ef
@ -108,7 +108,7 @@ Int64 Chrono::GetEpochTimeMicro()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
Uint32 Chrono::GetTickCount()
|
Uint32 GetTickCount()
|
||||||
{
|
{
|
||||||
// POSIX implementation
|
// POSIX implementation
|
||||||
struct timespec time;
|
struct timespec time;
|
||||||
@ -120,7 +120,7 @@ Uint32 Chrono::GetTickCount()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
Int64 Chrono::GetTickCount64()
|
Int64 GetTickCount64()
|
||||||
{
|
{
|
||||||
struct timespec time;
|
struct timespec time;
|
||||||
if (clock_gettime(CLOCK_MONOTONIC, &time))
|
if (clock_gettime(CLOCK_MONOTONIC, &time))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user