From 9dcee4f8e7222b139d6f232765a2bcefb4c6045e Mon Sep 17 00:00:00 2001 From: freemine Date: Tue, 26 Jan 2021 20:51:28 +0800 Subject: [PATCH] remove __APPLE__ block of codes --- src/dnode/src/dnodeTelemetry.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/dnode/src/dnodeTelemetry.c b/src/dnode/src/dnodeTelemetry.c index 1fb6f73092..4caece1661 100644 --- a/src/dnode/src/dnodeTelemetry.c +++ b/src/dnode/src/dnodeTelemetry.c @@ -240,13 +240,6 @@ static void sendTelemetryReport() { taosCloseSocket(fd); } -#ifdef __APPLE__ -static int sem_timedwait(tsem_t *sem, struct timespec *to) { - fprintf(stderr, "%s[%d]%s(): not implemented yet!\n", basename(__FILE__), __LINE__, __func__); - abort(); -} -#endif // __APPLE__ - static void* telemetryThread(void* param) { struct timespec end = {0}; clock_gettime(CLOCK_REALTIME, &end); -- GitLab