fixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS

This commit is contained in:
goldsimon 2011-10-18 11:00:10 +02:00
parent 0da2bd7f62
commit 21f39082b7
2 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,9 @@ HISTORY
++ Bugfixes: ++ Bugfixes:
2011-10-18: Simon Goldschmidt
* sockets.h: fixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS
2011-10-17: Simon Goldschmidt 2011-10-17: Simon Goldschmidt
* api_msg.c: fixed bug #34569: shutdown(SHUT_WR) crashes netconn/socket api * api_msg.c: fixed bug #34569: shutdown(SHUT_WR) crashes netconn/socket api

View File

@ -365,6 +365,7 @@ int lwip_fcntl(int s, int cmd, int val);
#define read(a,b,c) lwip_read(a,b,c) #define read(a,b,c) lwip_read(a,b,c)
#define write(a,b,c) lwip_write(a,b,c) #define write(a,b,c) lwip_write(a,b,c)
#define close(s) lwip_close(s) #define close(s) lwip_close(s)
#define fcntl(a,b,c) lwip_fcntl(a,b,c)
#endif /* LWIP_POSIX_SOCKETS_IO_NAMES */ #endif /* LWIP_POSIX_SOCKETS_IO_NAMES */
#endif /* LWIP_COMPAT_SOCKETS */ #endif /* LWIP_COMPAT_SOCKETS */