LogInit: disable SetLogCharset() without GLib

This commit is contained in:
Max Kellermann
2014-02-17 23:31:15 +01:00
parent 2b21312b36
commit 97f2be348c
2 changed files with 7 additions and 0 deletions

View File

@@ -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)