1
0
mirror of https://github.com/armink/EasyLogger.git synced 2025-01-31 13:32:52 +08:00

【修复】windows demo自动编译报错

i#
This commit is contained in:
echohu 2021-11-09 18:21:18 +08:00
parent 772c28734f
commit 199ad5f371
2 changed files with 13 additions and 0 deletions

View File

@ -53,6 +53,18 @@ ElogErrCode elog_port_init(void) {
return result; return result;
} }
/**
* EasyLogger port deinitialize
*
*/
void elog_port_deinit(void) {
#ifdef ELOG_FILE_ENABLE
elog_file_deinit();
#endif
CloseHandle(output_lock);
}
/** /**
* output log port interface * output log port interface
* *

View File

@ -1,3 +1,4 @@
@if not exist .\out mkdir .\out
gcc -I "easylogger\inc" -I "..\..\..\easylogger\inc" -O0 -g3 -Wall -c "..\..\..\easylogger\src\elog.c" -o "out\elog.o" gcc -I "easylogger\inc" -I "..\..\..\easylogger\inc" -O0 -g3 -Wall -c "..\..\..\easylogger\src\elog.c" -o "out\elog.o"
gcc -I "easylogger\inc" -I "..\..\..\easylogger\inc" -I "..\..\..\easylogger\plugins\file" -O0 -g3 -Wall -c "easylogger\port\elog_port.c" -o "out\elog_port.o" gcc -I "easylogger\inc" -I "..\..\..\easylogger\inc" -I "..\..\..\easylogger\plugins\file" -O0 -g3 -Wall -c "easylogger\port\elog_port.c" -o "out\elog_port.o"
gcc -I "easylogger\inc" -I "..\..\..\easylogger\inc" -O0 -g3 -Wall -c "..\..\..\easylogger\src\elog_utils.c" -o "out\elog_utils.o" gcc -I "easylogger\inc" -I "..\..\..\easylogger\inc" -O0 -g3 -Wall -c "..\..\..\easylogger\src\elog_utils.c" -o "out\elog_utils.o"