changeset 15861:346a366840c2

With this change, IRC Helper builds without changes to the source (only the Makefile).
author Richard Laager <rlaager@wiktel.com>
date Wed, 21 Mar 2007 08:40:17 +0000
parents 1d594ccb09d6
children 78f056497b72
files libpurple/gaim-compat.h
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/gaim-compat.h	Wed Mar 21 08:39:34 2007 +0000
+++ b/libpurple/gaim-compat.h	Wed Mar 21 08:40:17 2007 +0000
@@ -1167,6 +1167,12 @@
 
 /* from plugin.h */
 
+#ifdef GAIM_PLUGINS
+#ifndef PURPLE_PLUGINS
+#define PURPLE_PLUGINS
+#endif
+#endif
+
 #define GaimPlugin            PurplePlugin
 #define GaimPluginInfo        PurplePluginInfo
 #define GaimPluginUiInfo      PurplePluginUiInfo
@@ -1196,7 +1202,7 @@
 #define GAIM_PLUGIN_HAS_ACTIONS  PURPLE_PLUGIN_HAS_ACTIONS
 #define GAIM_PLUGIN_ACTIONS      PURPLE_PLUGIN_ACTIONS
 
-#define GAIM_INIT_PLUGIN  PURPLE_INIT_PLUGIN
+#define GAIM_INIT_PLUGIN(pluginname, initfunc, plugininfo)  PURPLE_INIT_PLUGIN(pluginname, initfunc, plugininfo)
 
 #define gaim_plugin_new              purple_plugin_new
 #define gaim_plugin_probe            purple_plugin_probe