summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-05-10 13:33:09 +0200
committerStefano Karapetsas <[email protected]>2014-05-10 13:33:09 +0200
commitb157933ed5e6b231e5d4062b2c5213e6bf7e4246 (patch)
tree2b88f8845eb7ca43a94e2bd4a3dd5a78b1696e58
parentb85043692b831038e9782339f3664b836e76ed40 (diff)
downloadlibmateweather-b157933ed5e6b231e5d4062b2c5213e6bf7e4246.tar.bz2
libmateweather-b157933ed5e6b231e5d4062b2c5213e6bf7e4246.tar.xz
Fix define of g_memmove
It could be available on glib 2.40 if deprecated are enabled
-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