mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed logger build issue.
This commit is contained in:
parent
f1371ad100
commit
a8bf060815
|
@ -42,7 +42,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
typedef struct logger {
|
struct logger {
|
||||||
FILE *log_file;
|
FILE *log_file;
|
||||||
LOG_LEVEL level;
|
LOG_LEVEL level;
|
||||||
uint64_t start_time; /* Time when lib loaded */
|
uint64_t start_time; /* Time when lib loaded */
|
||||||
|
@ -55,7 +55,7 @@ typedef struct logger {
|
||||||
|
|
||||||
/* For thread synchronisation */
|
/* For thread synchronisation */
|
||||||
pthread_mutex_t mutex[1];
|
pthread_mutex_t mutex[1];
|
||||||
} Logger;
|
};
|
||||||
|
|
||||||
Logger *global = NULL;
|
Logger *global = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user