Mercurial > pidgin.yaz
changeset 11378:3c88e4519fd1
[gaim-migrate @ 13604]
This will hopefully get CVS HEAD building in CC.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 30 Aug 2005 23:55:32 +0000 |
parents | 5c3a0e641520 |
children | 51c189755f1d |
files | src/plugin.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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) {