Base: Use std::chrono for time handling
Replace platform specific implementations with standard C++ std::chrono. As time_t is now 64-bit on all supported systems, use it to set the clock.
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include <cassert>
|
||||
#include <ctime>
|
||||
#include <cfloat>
|
||||
#include <chrono>
|
||||
#ifdef FC_OS_WIN32
|
||||
#define _USE_MATH_DEFINES
|
||||
#endif // FC_OS_WIN32
|
||||
|
||||
Reference in New Issue
Block a user