mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
Stricter MG_ARCH_CUSTOM and type conversions in sock.c
This commit is contained in:
1 parent
4356b953ca
commit
2594e7b37a
11 files changed
+238
-96
No files matched your search
+6
-3
@@ -4,9 +4,7 @@
|
||||
#define MG_ENABLE_LWIP 0
|
||||
#endif
|
||||
|
||||
#if MG_ENABLE_LWIP
|
||||
#define MG_ENABLE_SOCKET 0
|
||||
#elif !defined(MG_ENABLE_SOCKET)
|
||||
#ifndef MG_ENABLE_SOCKET
|
||||
#define MG_ENABLE_SOCKET 1
|
||||
#endif
|
||||
|
||||
@@ -42,6 +40,11 @@
|
||||
#define MG_ENABLE_MD5 0
|
||||
#endif
|
||||
|
||||
// Set MG_ENABLE_WINSOCK=0 for Win32 builds with external IP stack (like LWIP)
|
||||
#ifndef MG_ENABLE_WINSOCK
|
||||
#define MG_ENABLE_WINSOCK 1
|
||||
#endif
|
||||
|
||||
#ifndef MG_ENABLE_DIRECTORY_LISTING
|
||||
#define MG_ENABLE_DIRECTORY_LISTING 0
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user