提交 2575a935 编写于 作者: mysterywolf's avatar mysterywolf 提交者: guo

rename sal.h as sal_low_lvl.h

上级 0e5bb9d0
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifdef RT_USING_SAL #ifdef RT_USING_SAL
#include <sal_netdb.h> #include <sal_netdb.h>
#include <sal.h> #include <sal_low_lvl.h>
#endif /* RT_USING_SAL */ #endif /* RT_USING_SAL */
#define DBG_TAG "netdev" #define DBG_TAG "netdev"
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <netdb.h> #include <netdb.h>
#include <sal.h> #include <sal_low_lvl.h>
#include <at_socket.h> #include <at_socket.h>
#include <af_inet.h> #include <af_inet.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <poll.h> #include <poll.h>
#endif #endif
#include <sal.h> #include <sal_low_lvl.h>
#include <af_inet.h> #include <af_inet.h>
#include <netdev.h> #include <netdev.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <sal_tls.h> #include <sal_tls.h>
#endif #endif
#include <netdb.h> #include <netdb.h>
#include <sal.h> #include <sal_low_lvl.h>
#include <netdev.h> #include <netdev.h>
......
...@@ -6,10 +6,12 @@ ...@@ -6,10 +6,12 @@
* Change Logs: * Change Logs:
* Date Author Notes * Date Author Notes
* 2018-05-17 ChenYong First version * 2018-05-17 ChenYong First version
* 2022-05-15 Meco Man rename sal.h as sal_low_lvl.h to avoid conflicts
* with Microsoft Visual Studio header file
*/ */
#ifndef SAL_H__ #ifndef SAL_LOW_LEVEL_H__
#define SAL_H__ #define SAL_LOW_LEVEL_H__
#include <rtdevice.h> #include <rtdevice.h>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#ifdef SAL_USING_TLS #ifdef SAL_USING_TLS
#include <sal_tls.h> #include <sal_tls.h>
#endif #endif
#include <sal.h> #include <sal_low_lvl.h>
#include <netdev.h> #include <netdev.h>
#ifdef SAL_INTERNET_CHECK #ifdef SAL_INTERNET_CHECK
......
...@@ -719,7 +719,7 @@ The following is the access registration process implemented by AT Socket networ ...@@ -719,7 +719,7 @@ The following is the access registration process implemented by AT Socket networ
```c ```c
#include <rtthread.h> #include <rtthread.h>
#include <netdb.h> #include <netdb.h>
#include <sal.h> /* SAL component structure holds the header file */ #include <sal_low_lvl.h> /* SAL component structure holds the header file */
#include <at_socket.h> /* AT Socket related header file */ #include <at_socket.h> /* AT Socket related header file */
#include <af_inet.h> #include <af_inet.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册