Removed unistd.h and sys/time.h, and refactored getMillisecOfNow() as appeared to be duplicated code.
Compiles with MSVC using craft.
| cullmann | |
| aacid |
| KDE Games |
Removed unistd.h and sys/time.h, and refactored getMillisecOfNow() as appeared to be duplicated code.
Compiles with MSVC using craft.
| No Linters Available |
| No Unit Test Coverage |
| Buildable 17659 | |
| Build 17677: arc lint + arc unit |
It builds and runs on my linux box. I couldn't work out how to get the previous patch to apply, so remade it.
| utils.h | ||
|---|---|---|
| 6 | i'm a bit unhappy with a floating function here. Would be happier if it was inside a namespace Utils {} What do you think? | |
The code is too C++-y to me, but it works :D
On the other hand since this is a relatively "big" change i think this should just go to master and not to Applications/19.08