summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmateweather/weather.c2
1 files changed, 1 insertions, 1 deletions
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