Return Windows behavior for socket copy

(cherry picked from commit d13be1b439)
This commit is contained in:
Vladimir Dubrovin committed 2026-08-26 16:48:09 +03:00
1 parent efa6f6560c
commit 6915ea126f
3 files changed
+7 -1

No files matched your search

+3
View File
@@ -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