mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Fixed wrong variable name on linux in chrono library.
This commit is contained in:
parent
0812472ac5
commit
e70afea7ad
@ -114,7 +114,7 @@ Uint32 GetTickCount()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return now.tv_sec * 1000.0 + now.tv_nsec / 1000000.0;
|
||||
return time.tv_sec * 1000.0 + time.tv_nsec / 1000000.0;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
@ -125,7 +125,7 @@ Int64 GetTickCount64()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return now.tv_sec * 1000.0 + now.tv_nsec / 1000000.0;
|
||||
return time.tv_sec * 1000.0 + time.tv_nsec / 1000000.0;
|
||||
}
|
||||
|
||||
#endif // SQMOD_OS_WINDOWS
|
||||
|
Loading…
Reference in New Issue
Block a user