VFS: Use smaller numbers as file descriptors

This commit is contained in:
Roland Dobai
2018-05-07 09:01:56 +02:00
parent dc13f489ca
commit 5129bca67c
12 changed files with 454 additions and 176 deletions
-4
View File
@@ -221,9 +221,6 @@ typedef unsigned int mode_t _ST_INT32;
typedef unsigned short nlink_t;
/* FD_SET and friends are still LWIP only */
# if !defined(ESP_PLATFORM)
/* We don't define fd_set and friends if we are compiling POSIX
source, or if we have included (or may include as indicated
by __USE_W32_SOCKETS) the W32api winsock[2].h header which
@@ -269,7 +266,6 @@ typedef struct _types_fd_set {
}))
# endif /* !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (_WINSOCKAPI_) || defined (__USE_W32_SOCKETS)) */
#endif /* !defined(ESP_PLATFORM) */
#undef __MS_types__
#undef _ST_INT32