improve socket_helper

This commit is contained in:
lixianjing 2023-11-19 21:07:02 +08:00
parent 54ab8a94f2
commit 9a12320164

View File

@ -353,4 +353,12 @@ int32_t tk_socket_recvfrom(int sock, void* buffer, uint32_t size, int flags,
return ret; return ret;
} }
#else
ret_t tk_socket_init(void) {
return RET_OK;
}
ret_t tk_socket_deinit(void) {
return RET_OK;
}
#endif /*WITH_SOCKET*/ #endif /*WITH_SOCKET*/