Commit 97f2be34 authored by Max Kellermann's avatar Max Kellermann

LogInit: disable SetLogCharset() without GLib

parent 2b21312b
......@@ -20,14 +20,19 @@
#ifndef MPD_LOG_BACKEND_HXX
#define MPD_LOG_BACKEND_HXX
#include "check.h"
#include "LogLevel.hxx"
void
SetLogThreshold(LogLevel _threshold);
#ifdef HAVE_GLIB
void
SetLogCharset(const char *_charset);
#endif
void
EnableLogTimestamp();
......
......@@ -190,7 +190,9 @@ void setup_log_output(bool use_stdout)
close(out_fd);
out_fd = -1;
#ifdef HAVE_GLIB
SetLogCharset(nullptr);
#endif
}
int cycle_log_files(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment