remove __APPLE__ block of codes

This commit is contained in:
freemine 2021-01-26 20:51:28 +08:00
parent 4b0528e7c4
commit 9dcee4f8e7
1 changed files with 0 additions and 7 deletions

View File

@ -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);