* include/netdb.h (h_errno): Add self-referencing macro and comment.
This commit is contained in:
parent
5fd4464077
commit
d098f404d4
|
@ -1,3 +1,7 @@
|
|||
2012-03-13 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* include/netdb.h (h_errno): Add self-referencing macro and comment.
|
||||
|
||||
2012-03-12 Corinna Vinschen <corinna@vinschen.de>
|
||||
Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||
|
||||
|
|
|
@ -137,6 +137,9 @@ struct addrinfo {
|
|||
extern int h_errno;
|
||||
#else
|
||||
extern __declspec(dllimport) int h_errno;
|
||||
/* Some packages expect h_errno to be a macro, otherwise they redeclare
|
||||
h_errno, which leads to spurious warnings. */
|
||||
#define h_errno h_errno
|
||||
#endif
|
||||
|
||||
#define NETDB_INTERNAL -1 /* see errno */
|
||||
|
|
Loading…
Reference in New Issue