libpurple/glibcompat.h

changeset 34462
d51759c13fde
parent 34456
d69aa7d3530c
child 35073
46b7a39e45ec
--- a/libpurple/glibcompat.h	Fri Oct 04 23:50:32 2013 +0200
+++ b/libpurple/glibcompat.h	Sat Oct 05 10:02:41 2013 +0200
@@ -25,7 +25,7 @@
  * Also, any public API should not depend on this file.
  */
 
-#ifdef HAVE_CLANG
+#ifdef __clang__
 
 #undef G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 #define G_GNUC_BEGIN_IGNORE_DEPRECATIONS \
@@ -36,7 +36,8 @@
 #define G_GNUC_END_IGNORE_DEPRECATIONS \
 	_Pragma ("clang diagnostic pop")
 
-#endif /* HAVE_CLANG */
+#endif /* __clang__ */
+
 
 #if !GLIB_CHECK_VERSION(2, 32, 0)
 

mercurial