Attempt (2) to resolve non-TLS h_errno build failure in Jenkins
This commit is contained in:
@@ -57,7 +57,8 @@ struct gethostbyname_r_helper {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** h_errno is exported in netdb.h for access by applications. */
|
/** h_errno is exported in netdb.h for access by applications. */
|
||||||
#if LWIP_DNS_API_DECLARE_H_ERRNO
|
//#if LWIP_DNS_API_DECLARE_H_ERRNO
|
||||||
|
#ifndef h_errno
|
||||||
int h_errno;
|
int h_errno;
|
||||||
#endif /* LWIP_DNS_API_DECLARE_H_ERRNO */
|
#endif /* LWIP_DNS_API_DECLARE_H_ERRNO */
|
||||||
|
|
||||||
|
|||||||
@@ -515,7 +515,7 @@ happening sooner than they should.
|
|||||||
* transport.
|
* transport.
|
||||||
*/
|
*/
|
||||||
#define LWIP_DNS 1
|
#define LWIP_DNS 1
|
||||||
|
#define LWIP_DNS_API_DECLARE_H_ERRNO 0
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------
|
||||||
-------------------------------- UDP Options -----------------------------------
|
-------------------------------- UDP Options -----------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user