mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-31 14:33:50 +00:00
enable building shared library for #128
This commit is contained in:
+2
-2
@@ -44,12 +44,12 @@
|
||||
|
||||
#ifdef LIB_ONLY
|
||||
|
||||
extern FILE* logfile;
|
||||
|
||||
#define TIME_FORMAT "%Y-%m-%d %H:%M:%S"
|
||||
|
||||
#define USE_SYSLOG(ident)
|
||||
|
||||
FILE *logfile;
|
||||
|
||||
#define USE_LOGFILE(ident) do {\
|
||||
if (ident != NULL) logfile = fopen(ident, "w+");}\
|
||||
while(0)
|
||||
|
||||
Reference in New Issue
Block a user