mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Return Windows behavior for socket copy
(cherry picked from commit d13be1b439)
This commit is contained in:
1 parent
efa6f6560c
commit
6915ea126f
3 files changed
+7
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user