Changeset View
Changeset View
Standalone View
Standalone View
source/lib/sysdep/os/win/wposix/wtime.cpp
Show All 24 Lines | |||||
*/ | */ | ||||
#include "precompiled.h" | #include "precompiled.h" | ||||
#include "lib/sysdep/os/win/wposix/wtime.h" | #include "lib/sysdep/os/win/wposix/wtime.h" | ||||
#include "lib/sysdep/os/win/wposix/wposix_internal.h" | #include "lib/sysdep/os/win/wposix/wposix_internal.h" | ||||
#include <ctime> | |||||
WINIT_REGISTER_MAIN_INIT(wtime_Init); // whrt -> wtime | WINIT_REGISTER_MAIN_INIT(wtime_Init); // whrt -> wtime | ||||
// NT system time and FILETIME are hectonanoseconds since Jan. 1, 1601 UTC. | // NT system time and FILETIME are hectonanoseconds since Jan. 1, 1601 UTC. | ||||
// SYSTEMTIME is a struct containing month, year, etc. | // SYSTEMTIME is a struct containing month, year, etc. | ||||
static const long _1e3 = 1000; | static const long _1e3 = 1000; | ||||
static const long _1e6 = 1000000; | static const long _1e6 = 1000000; | ||||
static const long _1e7 = 10000000; | static const long _1e7 = 10000000; | ||||
▲ Show 20 Lines • Show All 538 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator