diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-06-04 00:08:43 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-06-04 00:08:43 +0100 |
commit | 7a2a486ba0f90fef07c0a758ebdf36acc253e1a9 (patch) | |
tree | 2e8ea1211397a0a5f9ed8de3db3639cead3d0e2c /bitlbee.h | |
parent | 7de784c55f796f80523eac5fa25d6728048469b0 (diff) |
Shut up a flood of GLib-related compiler warnings.
Diffstat (limited to 'bitlbee.h')
-rw-r--r-- | bitlbee.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. */ |