mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
bug #26121: set_errno can be overridden
This commit is contained in:
parent
4f8f6ba205
commit
3587e8481d
@ -19,6 +19,9 @@ HISTORY
|
|||||||
|
|
||||||
++ New features:
|
++ New features:
|
||||||
|
|
||||||
|
2009-04-15 Simon Goldschmidt
|
||||||
|
* sockets.c: bug #26121: set_errno can be overridden
|
||||||
|
|
||||||
2009-03-31 Kieran Mansley
|
2009-03-31 Kieran Mansley
|
||||||
* tcp.c, tcp_out.c, tcp_in.c, sys.h, tcp.h, opts.h: add support for
|
* tcp.c, tcp_out.c, tcp_in.c, sys.h, tcp.h, opts.h: add support for
|
||||||
TCP timestamp options, off by default. Rework tcp_enqueue() to
|
TCP timestamp options, off by default. Rework tcp_enqueue() to
|
||||||
|
@ -150,7 +150,9 @@ static const int err_to_errno_table[] = {
|
|||||||
err_to_errno_table[-(err)] : EIO)
|
err_to_errno_table[-(err)] : EIO)
|
||||||
|
|
||||||
#ifdef ERRNO
|
#ifdef ERRNO
|
||||||
|
#ifndef set_errno
|
||||||
#define set_errno(err) errno = (err)
|
#define set_errno(err) errno = (err)
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define set_errno(err)
|
#define set_errno(err)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user