modify the preprocessor to stop the thread in ipadapter
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / ip_adapter / caipadapter.c
index 43ca8fa..48905f6 100644 (file)
@@ -863,7 +863,7 @@ CAResult_t CAStopIP()
     // Stop IP network monitor
     CAIPStopNetworkMonitor();
 
-#ifdef MULTI_THREAD
+#ifndef SINGLE_THREAD
     // Stop send queue thread
     if (g_sendQueueHandle)
     {