diff src/plugin.c @ 10504:1a97d5e88d12

[gaim-migrate @ 11796] Lots of things here: - Several memory leak fixes - A few invalid memory access fixes - Fix a yahoo crash going idle when away - Fix Add user in chats to actually fill in the screenname - Add gaim_account_{get,set}_enabled to perl - Fix command priorities (fixes /me in IRC) - Fix MSN notification server transfer to be quiet about it - Fix MSN blist sync if user has insane friendly name - Make the docklet less crash-happy if it fails to embed in 3 seconds - Only probe for native plugins with the correct file extension - 1 typo fix :) ... and quite possibly something else I forgot. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 11 Jan 2005 17:25:06 +0000
parents 12460aa2c820
children c604c88a7530
line wrap: on
line diff
--- a/src/plugin.c	Tue Jan 11 02:00:44 2005 +0000
+++ b/src/plugin.c	Tue Jan 11 17:25:06 2005 +0000
@@ -30,16 +30,6 @@
 #include "signals.h"
 #include "version.h"
 
-#ifdef _WIN32
-# define PLUGIN_EXT ".dll"
-#else
-# ifdef __hpux
-#  define PLUGIN_EXT ".sl"
-# else
-#  define PLUGIN_EXT ".so"
-# endif
-#endif
-
 typedef struct
 {
 	GHashTable *commands;
@@ -182,7 +172,7 @@
 	if (plugin != NULL)
 		return plugin;
 
-	plugin = gaim_plugin_new(has_file_extension(filename, PLUGIN_EXT), filename);
+	plugin = gaim_plugin_new(has_file_extension(filename, GAIM_PLUGIN_EXT), filename);
 
 	if (plugin->native_plugin) {
 		const char *error;