aboutsummaryrefslogtreecommitdiffstats
path: root/src/LogBackend.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-17 23:31:15 +0100
committerMax Kellermann <max@duempel.org>2014-02-18 09:18:42 +0100
commit97f2be348c6e58a07ab4374944d8b54b5c1d1bc4 (patch)
treebfef5f51722fa3a18c94f89801f1273a6071ac24 /src/LogBackend.hxx
parent2b21312b367bbde7473e95093fbebbf79e693df1 (diff)
downloadmpd-97f2be348c6e58a07ab4374944d8b54b5c1d1bc4.tar.gz
mpd-97f2be348c6e58a07ab4374944d8b54b5c1d1bc4.tar.xz
mpd-97f2be348c6e58a07ab4374944d8b54b5c1d1bc4.zip
LogInit: disable SetLogCharset() without GLib
Diffstat (limited to '')
-rw-r--r--src/LogBackend.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/LogBackend.hxx b/src/LogBackend.hxx
index 75a692ede..23df2037e 100644
--- a/src/LogBackend.hxx
+++ b/src/LogBackend.hxx
@@ -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();