mirror of
https://github.com/3proxy/3proxy.git
synced 2025-06-08 12:34:48 +08:00
Merge 870e34d77c
into 7335bc2fb6
This commit is contained in:
commit
2b5d6a3253
@ -26,7 +26,7 @@ COPY . 3proxy
|
|||||||
RUN cd 3proxy &&\
|
RUN cd 3proxy &&\
|
||||||
echo "">> Makefile.Linux &&\
|
echo "">> Makefile.Linux &&\
|
||||||
echo PLUGINS = StringsPlugin TrafficPlugin PCREPlugin TransparentPlugin SSLPlugin>>Makefile.Linux &&\
|
echo PLUGINS = StringsPlugin TrafficPlugin PCREPlugin TransparentPlugin SSLPlugin>>Makefile.Linux &&\
|
||||||
echo LIBS = -l:libcrypto.a -l:libssl.a -ldl >>Makefile.Linux &&\
|
echo LIBS = -l:libssl.a -l:libcrypto.a -ldl >>Makefile.Linux &&\
|
||||||
make -f Makefile.Linux &&\
|
make -f Makefile.Linux &&\
|
||||||
strip bin/3proxy &&\
|
strip bin/3proxy &&\
|
||||||
strip bin/StringsPlugin.ld.so &&\
|
strip bin/StringsPlugin.ld.so &&\
|
||||||
|
@ -116,6 +116,10 @@ void daemonize(void);
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define strcasecmp stricmp
|
#define strcasecmp stricmp
|
||||||
#define strncasecmp strnicmp
|
#define strncasecmp strnicmp
|
||||||
|
#else
|
||||||
|
#ifndef _set_errno
|
||||||
|
#define _set_errno(x) (errno = x)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SOCKET_ERROR
|
#ifndef SOCKET_ERROR
|
||||||
|
Loading…
Reference in New Issue
Block a user