aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2012-06-04 00:08:43 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2012-06-04 00:08:43 +0100
commit7a2a486ba0f90fef07c0a758ebdf36acc253e1a9 (patch)
tree2e8ea1211397a0a5f9ed8de3db3639cead3d0e2c /bitlbee.h
parent7de784c55f796f80523eac5fa25d6728048469b0 (diff)
Shut up a flood of GLib-related compiler warnings.
Diffstat (limited to 'bitlbee.h')
-rw-r--r--bitlbee.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitlbee.h b/bitlbee.h
index 6c3a437f..13f3fda5 100644
--- a/bitlbee.h
+++ b/bitlbee.h
@@ -106,6 +106,11 @@ extern "C" {
#undef g_main_quit
#define g_main_quit __PLEASE_USE_B_MAIN_QUIT__
+/* And now, because GLib folks think everyone loves typing ridiculously long
+ function names ... no I don't or I'd write BitlBee in Java, ffs. */
+#define g_strcasecmp g_ascii_strcasecmp
+#define g_strncasecmp g_ascii_strncasecmp
+
#ifndef G_GNUC_MALLOC
/* Doesn't exist in GLib <=2.4 while everything else in BitlBee should
work with it, so let's fake this one. */