mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-26 10:41:47 +02:00
Fixed wrong variable name on linux in chrono library.
This commit is contained in:
@@ -114,7 +114,7 @@ Uint32 GetTickCount()
|
|||||||
{
|
{
|
||||||
return 0;
|
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 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
|
#endif // SQMOD_OS_WINDOWS
|
||||||
|
Reference in New Issue
Block a user