diff --git a/codec/WelsThreadLib/src/WelsThreadLib.cpp b/codec/WelsThreadLib/src/WelsThreadLib.cpp index 7f1c46b5..98de1449 100644 --- a/codec/WelsThreadLib/src/WelsThreadLib.cpp +++ b/codec/WelsThreadLib/src/WelsThreadLib.cpp @@ -42,6 +42,8 @@ #include "WelsThreadLib.h" #include +#ifdef MT_ENABLED + #ifdef _WIN32 void WelsSleep (uint32_t dwMilliseconds) { @@ -510,4 +512,5 @@ WELS_THREAD_ERROR_CODE WelsQueryLogicalProcessInfo (WelsLogicalProcessInfo* p #endif +#endif // MT_ENABLED