[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/3] Remove glib < 2.26 compatibility code
From: |
marcandre . lureau |
Subject: |
[Qemu-devel] [PATCH 3/3] Remove glib < 2.26 compatibility code |
Date: |
Mon, 12 Oct 2015 12:54:59 +0200 |
From: Marc-André Lureau <address@hidden>
Since 2.26 is now the minimum.
Signed-off-by: Marc-André Lureau <address@hidden>
---
include/glib-compat.h | 4 ----
tests/vhost-user-test.c | 4 ----
2 files changed, 8 deletions(-)
diff --git a/include/glib-compat.h b/include/glib-compat.h
index 318e000..46a2bc5 100644
--- a/include/glib-compat.h
+++ b/include/glib-compat.h
@@ -19,10 +19,6 @@
#include <glib.h>
/* GLIB version compatibility flags */
-#if !GLIB_CHECK_VERSION(2, 26, 0)
-#define G_TIME_SPAN_SECOND (G_GINT64_CONSTANT(1000000))
-#endif
-
#if !GLIB_CHECK_VERSION(2, 28, 0)
static inline gint64 qemu_g_get_monotonic_time(void)
{
diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c
index 56df5cc..9f2254d 100644
--- a/tests/vhost-user-test.c
+++ b/tests/vhost-user-test.c
@@ -21,10 +21,6 @@
#include <qemu/sockets.h>
/* GLIB version compatibility flags */
-#if !GLIB_CHECK_VERSION(2, 26, 0)
-#define G_TIME_SPAN_SECOND (G_GINT64_CONSTANT(1000000))
-#endif
-
#if GLIB_CHECK_VERSION(2, 28, 0)
#define HAVE_MONOTONIC_TIME
#endif
--
2.4.3
- [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros, marcandre . lureau, 2015/10/12
- [Qemu-devel] [PATCH 1/3] hw/acpi/aml-build: remove useless glib version check, marcandre . lureau, 2015/10/12
- Re: [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros, Cornelia Huck, 2015/10/12
- [Qemu-devel] [PATCH 2/3] configure: require glib 2.26, marcandre . lureau, 2015/10/15
- [Qemu-devel] [PATCH 3/3] Remove glib < 2.26 compatibility code,
marcandre . lureau <=
- Re: [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros, Daniel P. Berrange, 2015/10/15
- Re: [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros, Marc-André Lureau, 2015/10/12
- Re: [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros, Daniel P. Berrange, 2015/10/12
- Re: [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros, Peter Maydell, 2015/10/12
- Re: [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros, John Snow, 2015/10/12
- Re: [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros, Dr. David Alan Gilbert, 2015/10/12
- Re: [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros, Peter Maydell, 2015/10/12