Mercurial > pidgin.yaz
changeset 8081:c76d7f5ab335
[gaim-migrate @ 8780]
Well this fixes perl plugins for the time being. If someone
wants to fix it for real feel frizee.
I couldn't find where STATIC is defined.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 12 Jan 2004 05:42:09 +0000 |
parents | 4720864c365d |
children | 6b1ecf40f3ba |
files | src/plugin.h |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugin.h Mon Jan 12 02:52:21 2004 +0000 +++ b/src/plugin.h Mon Jan 12 05:42:09 2004 +0000 @@ -117,7 +117,8 @@ /** * Handles the initialization of modules. */ -#if !defined(GAIM_PLUGINS) || defined(STATIC) +//if !defined(GAIM_PLUGINS) || defined(STATIC) +#if !defined(GAIM_PLUGINS) # define GAIM_INIT_PLUGIN(pluginname, initfunc, plugininfo) \ gboolean gaim_init_##pluginname##_plugin(void) { \ GaimPlugin *plugin = gaim_plugin_new(TRUE, NULL); \ @@ -125,7 +126,8 @@ initfunc((plugin)); \ return gaim_plugin_register(plugin); \ } -#else /* GAIM_PLUGINS && !STATIC */ +//else /* GAIM_PLUGINS && !STATIC */ +#else /* GAIM_PLUGINS */ # define GAIM_INIT_PLUGIN(pluginname, initfunc, plugininfo) \ G_MODULE_EXPORT gboolean gaim_init_plugin(GaimPlugin *plugin) { \ plugin->info = &(plugininfo); \