fix: define CLOCK_MONOTONIC for Win OS

This commit is contained in:
Benguang Zhao 2022-11-29 09:34:28 +08:00
parent dc2dcea3de
commit d52e731953
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ extern "C" {
#ifdef WINDOWS
#define CLOCK_REALTIME 0
#define CLOCK_MONOTONIC 0
#define MILLISECOND_PER_SECOND (1000i64)
#else