Open CaledoniaProject opened 4 years ago
Add gettimeofday()
but not tested, cause I don't have Windows.
It should work on C++11.
Also you should know that cpp implementation had some issues on some platforms, such QT, so test it before use.
Yes, It's doesn't compile with Visual Studio.
On Windows,replace sys/time.h with WinSock2.h , then compile and run ok.
There's no gettimeofday on WIndows either, can you fix it?