diff --git a/src/dnode/src/dnodeMain.c b/src/dnode/src/dnodeMain.c index 8ac712386e..fb46709440 100644 --- a/src/dnode/src/dnodeMain.c +++ b/src/dnode/src/dnodeMain.c @@ -41,11 +41,12 @@ #include "dnodeTelemetry.h" #include "module.h" -#ifndef _MODULE +#if !defined(_MODULE) || !defined(_TD_LINUX) int32_t moduleStart() { return 0; } -void moduleStop(); +void moduleStop() {} #endif + void *tsDnodeTmr = NULL; static SRunStatus tsRunStatus = TSDB_RUN_STATUS_STOPPED;