diff options
author | Stefano Karapetsas <[email protected]> | 2014-04-26 14:20:58 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-04-26 14:20:58 +0200 |
commit | b85043692b831038e9782339f3664b836e76ed40 (patch) | |
tree | 742b718105fa2825c17c718dd3ffa8a6dd2539ae | |
parent | ffd2cee34d2031b8042ffeb90b57e1f0cf0781e6 (diff) | |
download | libmateweather-1.9.0.tar.bz2 libmateweather-1.9.0.tar.xz |
Use memmove with latest glib (>= 2.39)libmateweather-1.9.0
-rw-r--r-- | libmateweather/weather.c | 5 |
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); |