Attempt (2) to resolve non-TLS h_errno build failure in Jenkins

This commit is contained in:
Joseph Henry
2017-10-19 11:20:30 -07:00
parent 28a1dcc8c7
commit d36b6d58bf
2 changed files with 3 additions and 2 deletions

View File

@@ -57,7 +57,8 @@ struct gethostbyname_r_helper {
};
/** 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;
#endif /* LWIP_DNS_API_DECLARE_H_ERRNO */

View File

@@ -515,7 +515,7 @@ happening sooner than they should.
* transport.
*/
#define LWIP_DNS 1
#define LWIP_DNS_API_DECLARE_H_ERRNO 0
/*------------------------------------------------------------------------------
-------------------------------- UDP Options -----------------------------------