/pidgin/main: 61e8e081e93c: Fix build for glib < 2.32

Tomasz Wasilczyk <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 61e8e081e93c00cac4d14f2a3b70556791b3cab4
Author:	 Tomasz Wasilczyk <[email protected]>
Date:	 2014-05-09 21:43 +0200
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/61e8e081e93c

Description:

Fix build for glib < 2.32

diffstat:

 libpurple/internal.h |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (17 lines):

diff --git a/libpurple/internal.h b/libpurple/internal.h
--- a/libpurple/internal.h
+++ b/libpurple/internal.h
@@ -154,6 +154,13 @@
 
 #include <glib-object.h>
 
+#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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.