From 499e81b735839b700f495073023168ee767d90fc Mon Sep 17 00:00:00 2001 From: Minglei Jin Date: Wed, 3 Feb 2021 14:57:20 +0800 Subject: [PATCH] [TD-2402]: remove WINDOS macro related code in ttimer --- src/util/src/ttimer.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/util/src/ttimer.c b/src/util/src/ttimer.c index 809b69e8ad..9833449777 100644 --- a/src/util/src/ttimer.c +++ b/src/util/src/ttimer.c @@ -188,11 +188,7 @@ static void removeTimer(uintptr_t id) { } static int64_t getMonotonicMs(void) { -#ifdef WINDOWS return (int64_t) getMonotonicUs() / 1000; -#else - return taosGetTimestampMs(); -#endif } static void addToWheel(tmr_obj_t* timer, uint32_t delay) { -- GitLab