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.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
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