mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-16 10:39:49 +00:00
fix lwIP redefinition of nfds_t
This commit is contained in:
1 parent
1200f50e2e
commit
6de419d14c
2 files changed
+8
-2
No files matched your search
+4
-1
@@ -651,7 +651,10 @@ typedef enum { false = 0, true = 1 } bool;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef unsigned long nfds_t;
|
||||
#if defined(MG_ENABLE_POLL) && MG_ENABLE_POLL && (!defined(MG_ENABLE_LWIP) || !MG_ENABLE_LWIP)
|
||||
typedef unsigned long nfds_t; // see #3388
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#if MG_ENABLE_WINSOCK
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
|
||||
+4
-1
@@ -110,7 +110,10 @@ typedef enum { false = 0, true = 1 } bool;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef unsigned long nfds_t;
|
||||
#if defined(MG_ENABLE_POLL) && MG_ENABLE_POLL && (!defined(MG_ENABLE_LWIP) || !MG_ENABLE_LWIP)
|
||||
typedef unsigned long nfds_t; // see #3388
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#if MG_ENABLE_WINSOCK
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
|
||||
Reference in new issue
Block a user