# HG changeset patch # User Mark Doliner # Date 1125446132 0 # Node ID 3c88e4519fd1154eaca96253df5254d5301d868c # Parent 5c3a0e641520dddccc6cab2059839db743dbec05 [gaim-migrate @ 13604] This will hopefully get CVS HEAD building in CC. committer: Tailor Script diff -r 5c3a0e641520 -r 3c88e4519fd1 src/plugin.c --- a/src/plugin.c Tue Aug 30 22:11:50 2005 +0000 +++ b/src/plugin.c Tue Aug 30 23:55:32 2005 +0000 @@ -212,8 +212,15 @@ /* * We pass G_MODULE_BIND_LOCAL here to prevent symbols from * plugins being added to the global name space. + * + * G_MODULE_BIND_LOCAL was added in glib 2.3.3. + * TODO: What are we going to do about that? */ +#if GLIB_CHECK_VERSION(2,3,3) plugin->handle = g_module_open(filename, G_MODULE_BIND_LOCAL); +#else + plugin->handle = g_module_open(filename, 0); +#endif if (plugin->handle == NULL) {