浏览代码

Update sal_socket.c

Man, Jianting (Meco) 2 年之前
父节点
当前提交
279825936b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/net/sal/src/sal_socket.c

+ 1 - 1
components/net/sal/src/sal_socket.c

@@ -27,7 +27,7 @@
 #endif
 #endif
 
 
 /* check system workqueue stack size */
 /* check system workqueue stack size */
-#ifdef SAL_INTERNET_CHECK && #if RT_SYSTEM_WORKQUEUE_STACKSIZE < 1536
+#if defined(SAL_INTERNET_CHECK) && RT_SYSTEM_WORKQUEUE_STACKSIZE < 1536
 #error "The system workqueue stack size must more than 1536 bytes"
 #error "The system workqueue stack size must more than 1536 bytes"
 #endif
 #endif