# HG changeset patch # User Evan Schoenberg # Date 1154992237 0 # Node ID 51f71ad82141d1ec8df15702a03c0191fa17053a # Parent 96ef9966aa249df3a858dd8c0b72276e026e76d0 [gaim-migrate @ 16667] Use GLIB_CHECK_VERSION to determine if g_str_has_prefix() is needed. As of glib 2.1.0 it was available. committer: Tailor Script diff -r 96ef9966aa24 -r 51f71ad82141 src/protocols/qq/utils.c --- a/src/protocols/qq/utils.c Mon Aug 07 19:23:42 2006 +0000 +++ b/src/protocols/qq/utils.c Mon Aug 07 23:10:37 2006 +0000 @@ -35,7 +35,7 @@ #define QQ_NAME_FORMAT "qq-%d" -#ifndef g_str_has_prefix +#if !GLIB_CHECK_VERSION(2, 1, 0) gint g_str_has_prefix(const gchar *str, const gchar *prefix) { gint len = strlen(prefix);