enable building shared library for #128

This commit is contained in:
Max Lv
2014-11-06 10:42:00 +08:00
parent 7adc9037ae
commit 6f64d431b6
25 changed files with 3629 additions and 3116 deletions
+2 -2
View File
@@ -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)