Return Windows behavior for socket copy

This commit is contained in:
Vladimir Dubrovin committed 2026-08-26 16:40:31 +03:00
1 parent a194f207ba
commit d13be1b439
3 files changed
+7 -1

No files matched your search

+3
View File
@@ -11,6 +11,9 @@ CRYPT_PREFIX ?= $(PREFIX)
CC ?= gcc
CFLAGS ?= -O3 -flto
CFLAGS += -fno-strict-aliasing -c -mthreads -DWITH_WSAPOLL -DWITH_ODBC
# 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
CFLAGS += -DNO_SHARE_UDP_SOCKET
COUT = -o
LN ?= $(CC)
LDFLAGS ?= -O3 -flto