mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
Restore SO_EXCLUSIVEADDRUSE
This commit is contained in:
1 parent
87b62390b7
commit
72d3a49352
3 files changed
+1
-9
No files matched your search
@@ -11,9 +11,6 @@
|
||||
|
||||
#if MG_ENABLE_SOCKET
|
||||
#if defined(_WIN32)
|
||||
#ifndef SO_EXCLUSIVEADDRUSE
|
||||
#define SO_EXCLUSIVEADDRUSE ((int) (~SO_REUSEADDR))
|
||||
#endif
|
||||
#define MG_SOCK_ERRNO WSAGetLastError()
|
||||
#define FD(C_) ((SOCKET)(C_)->fd)
|
||||
#elif MG_ARCH == MG_ARCH_FREERTOS
|
||||
|
||||
Reference in new issue
Block a user