From d5dfe7d457b559bd9c53d65d0315c55611cc6a79 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 15 Dec 2013 12:32:15 +0100 Subject: configure.ac: add option "--disable-glib" Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core. --- src/system/FatalError.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/system/FatalError.hxx') diff --git a/src/system/FatalError.hxx b/src/system/FatalError.hxx index 2845359ef..4ef290714 100644 --- a/src/system/FatalError.hxx +++ b/src/system/FatalError.hxx @@ -45,9 +45,11 @@ gcc_noreturn void FatalError(const char *msg, const Error &error); +#ifdef HAVE_GLIB gcc_noreturn void FatalError(const char *msg, GError *error); +#endif /** * Call this after a system call has failed that is not supposed to -- cgit v1.2.3