- all source compile now on macOS

This commit is contained in:
Christoph Oelckers 2020-01-08 01:00:57 +01:00
parent 8f455d8ffa
commit cfed7afd02
24 changed files with 219 additions and 597 deletions

View file

@ -53,11 +53,6 @@ static uint64_t GetClockTimeNS()
return (uint64_t)((duration_cast<microseconds>(steady_clock::now().time_since_epoch()).count()) * (uint64_t)(TimeScale * 1000));
}
static uint64_t MSToNS(unsigned int ms)
{
return static_cast<uint64_t>(ms) * 1'000'000;
}
static uint64_t NSToMS(uint64_t ns)
{
return static_cast<uint64_t>(ns / 1'000'000);