changeset 8028:be5daff5c5ff

[gaim-migrate @ 8708] static prpls should work now although configure still misinforms you of its intentions committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 07 Jan 2004 03:19:00 +0000
parents dc30096d0896
children 2c32ee9d4fe4
files src/plugin.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugin.h	Tue Jan 06 22:56:37 2004 +0000
+++ b/src/plugin.h	Wed Jan 07 03:19:00 2004 +0000
@@ -115,7 +115,7 @@
 /**
  * Handles the initialization of modules.
  */
-#ifndef GAIM_PLUGINS
+#if !defined(GAIM_PLUGINS) || defined(STATIC)
 # define GAIM_INIT_PLUGIN(pluginname, initfunc, plugininfo) \
 	gboolean gaim_init_##pluginname##_plugin(void) { \
 		GaimPlugin *plugin = gaim_plugin_new(TRUE, NULL); \
@@ -123,7 +123,7 @@
 		initfunc((plugin)); \
 		return gaim_plugin_register(plugin); \
 	}
-#else /* GAIM_PLUGINS */
+#else /* GAIM_PLUGINS  && !STATIC */
 # define GAIM_INIT_PLUGIN(pluginname, initfunc, plugininfo) \
 	G_MODULE_EXPORT gboolean gaim_init_plugin(GaimPlugin *plugin) { \
 		plugin->info = &(plugininfo); \