mirror of
https://github.com/armink/EasyLogger.git
synced 2025-01-31 13:32:52 +08:00
elog_file: 添加编译宏控制
This commit is contained in:
parent
a26da77cbd
commit
83d162f947
@ -35,6 +35,8 @@
|
||||
|
||||
#include "elog_file.h"
|
||||
|
||||
#ifdef ELOG_FILE_ENABLE
|
||||
|
||||
/* initialize OK flag */
|
||||
static bool init_ok = false;
|
||||
static FILE *fp = NULL;
|
||||
@ -175,3 +177,5 @@ void elog_file_config(ElogFileCfg *cfg)
|
||||
|
||||
elog_file_port_unlock();
|
||||
}
|
||||
|
||||
#endif /* ELOG_FILE_ENABLE */
|
||||
|
Loading…
x
Reference in New Issue
Block a user