Browse Source

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

pull/1/head
Joseph Henry 9 years ago
parent
commit
d36b6d58bf
  1. 3
      ext/lwip/src/api/netdb.c
  2. 2
      include/lwipopts.h

3
ext/lwip/src/api/netdb.c

@ -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 */

2
include/lwipopts.h

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

Loading…
Cancel
Save