mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Return Windows behavior for socket copy
This commit is contained in:
1 parent
a194f207ba
commit
d13be1b439
3 files changed
+7
-1
No files matched your search
@@ -115,6 +115,9 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
if(WIN32)
|
||||
# Windows-specific configuration
|
||||
add_compile_definitions(
|
||||
# Windows does not take a recv and a send on one socket from two
|
||||
# threads, so a UDP service answers from a socket of its own
|
||||
NO_SHARE_UDP_SOCKET
|
||||
WIN32
|
||||
_WIN32
|
||||
_MBCS
|
||||
|
||||
Reference in new issue
Block a user