summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmateweather/weather.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmateweather/weather.c b/libmateweather/weather.c
index d52f711..df9f463 100644
--- a/libmateweather/weather.c
+++ b/libmateweather/weather.c
@@ -43,6 +43,11 @@
#define MOON_PHASES 36
+/* g_memmove is removed in glib 2.40 */
+#if GLIB_CHECK_VERSION (2, 39, 0)
+#define g_memmove memmove
+#endif
+
static void _weather_internal_check (void);