Browse Source

Update sal_socket.c

Man, Jianting (Meco) 2 years ago
parent
commit
279825936b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/net/sal/src/sal_socket.c

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

@@ -27,7 +27,7 @@
 #endif
 
 /* 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"
 #endif