From 36cb98e79ee2f2eaf75fc01dbe4987dcd76fbcd8 Mon Sep 17 00:00:00 2001 From: facetosea <25808407@qq.com> Date: Tue, 14 May 2024 21:21:22 +0800 Subject: [PATCH] build on mac --- source/os/src/osThread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/os/src/osThread.c b/source/os/src/osThread.c index 40795c320f..0acd6f67f5 100644 --- a/source/os/src/osThread.c +++ b/source/os/src/osThread.c @@ -173,6 +173,8 @@ int32_t taosThreadCondAttrInit(TdThreadCondAttr *attr) { int32_t taosThreadCondAttrSetclock(TdThreadCondAttr *attr, int clockId) { #ifdef __USE_WIN_THREAD return 0; +#elif defined(__APPLE__) + return 0; #else return pthread_condattr_setclock(attr, clockId); #endif