Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude #include <at_socket.h> when socket is disable. #171

Open
majianjia opened this issue Jan 20, 2022 · 0 comments
Open

Exclude #include <at_socket.h> when socket is disable. #171

majianjia opened this issue Jan 20, 2022 · 0 comments

Comments

@majianjia
Copy link
Contributor

#include <at_socket.h>

Related to the change:
RT-Thread/packages#1168 (comment)

When the socket is disabling, the compiler cannot find this header. This header should be conditionally excluded.
for example

#ifdef AT_USING_SOCKET
#include <at_socket.h>
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant