# HG changeset patch # User Tomasz Wasilczyk # Date 1399664616 -7200 # Node ID 61e8e081e93c00cac4d14f2a3b70556791b3cab4 # Parent cc1066974ce42ccc8c05b04b5cdc02a46d430e92 Fix build for glib < 2.32 diff -r cc1066974ce4 -r 61e8e081e93c libpurple/internal.h --- a/libpurple/internal.h Wed May 07 17:16:22 2014 +0200 +++ b/libpurple/internal.h Fri May 09 21:43:36 2014 +0200 @@ -154,6 +154,13 @@ #include +#if !GLIB_CHECK_VERSION(2, 32, 0) + +#define G_GNUC_BEGIN_IGNORE_DEPRECATIONS +#define G_GNUC_END_IGNORE_DEPRECATIONS + +#endif /* 2.32.0 */ + #ifdef __clang__ #undef G_GNUC_BEGIN_IGNORE_DEPRECATIONS