From b157933ed5e6b231e5d4062b2c5213e6bf7e4246 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sat, 10 May 2014 13:33:09 +0200 Subject: Fix define of g_memmove It could be available on glib 2.40 if deprecated are enabled --- libmateweather/weather.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmateweather/weather.c b/libmateweather/weather.c index df9f463..7e61b42 100644 --- a/libmateweather/weather.c +++ b/libmateweather/weather.c @@ -44,7 +44,7 @@ #define MOON_PHASES 36 /* g_memmove is removed in glib 2.40 */ -#if GLIB_CHECK_VERSION (2, 39, 0) +#if GLIB_CHECK_VERSION (2, 39, 0) && !defined(g_memmove) #define g_memmove memmove #endif -- cgit v1.2.1