require GLib 2.24

This commit is contained in:
Max Kellermann 2013-01-29 18:33:37 +01:00
parent feb8d5b82f
commit 20f85745e7
10 changed files with 3 additions and 22 deletions

View File

@ -472,8 +472,8 @@ AC_ARG_WITH(tremor-includes,
dnl ---------------------------------------------------------------------------
dnl Mandatory Libraries
dnl ---------------------------------------------------------------------------
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.16 gthread-2.0],,
[AC_MSG_ERROR([GLib 2.16 is required])])
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.24 gthread-2.0],,
[AC_MSG_ERROR([GLib 2.24 is required])])
if test x$GCC = xyes; then
# suppress warnings in the GLib headers

View File

@ -28,7 +28,6 @@
extern "C" {
#include "db_error.h"
#include "stats.h"
#include "glib_compat.h"
}
#include "DatabasePlugin.hxx"

View File

@ -37,8 +37,6 @@ extern "C" {
#include "uri.h"
}
#include "glib_compat.h"
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -31,8 +31,6 @@ extern "C" {
#include "uri.h"
}
#include "glib_compat.h"
#include <glib.h>
void

View File

@ -22,6 +22,7 @@
#include "check.h"
#include "gcc.h"
#include "glib_compat.h"
#include <glib.h>

View File

@ -28,17 +28,6 @@
#include <glib.h>
#if !GLIB_CHECK_VERSION(2,18,0)
static inline void
g_set_error_literal(GError **err, GQuark domain, gint code,
const gchar *message)
{
g_set_error(err, domain, code, "%s", message);
}
#endif
#if !GLIB_CHECK_VERSION(2,28,0)
static inline gint64

View File

@ -28,7 +28,6 @@
#include "event/MultiSocketMonitor.hxx"
#include "event/Loop.hxx"
#include "IOThread.hxx"
#include "glib_compat.h"
#include <assert.h>

View File

@ -22,7 +22,6 @@
#include "output_api.h"
#include "mixer_list.h"
#include "fd_util.h"
#include "glib_compat.h"
#include <glib.h>

View File

@ -23,7 +23,6 @@
#include "pcm_format.h"
#include "pcm_pack.h"
#include "audio_format.h"
#include "glib_compat.h"
#include <assert.h>
#include <string.h>

View File

@ -19,7 +19,6 @@
#include "config.h"
#include "utils.h"
#include "glib_compat.h"
#include "conf.h"
#include <glib.h>