comparison src/plugin.c @ 12077:3cf98e532126

[gaim-migrate @ 14374] Stu pointed out that I probably want to leave this how it was. This should allow you to use the same 3rd party plugins across platforms using the same prefs.xml? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 14 Nov 2005 03:38:40 +0000
parents ee8312c764b1
children 5a08737f76c6
comparison
equal deleted inserted replaced
12076:4fb1edd43f45 12077:3cf98e532126
95 95
96 last_period = strrchr(filename, '.'); 96 last_period = strrchr(filename, '.');
97 if (last_period == NULL) 97 if (last_period == NULL)
98 return FALSE; 98 return FALSE;
99 99
100 return !(strcmp(last_period + 1, G_MODULE_SUFFIX)); 100 return !(strcmp(last_period, ".dll") &
101 strcmp(last_period, ".sl") &
102 strcmp(last_period, ".so"));
101 } 103 }
102 104
103 static char * 105 static char *
104 gaim_plugin_get_basename(const char *filename) 106 gaim_plugin_get_basename(const char *filename)
105 { 107 {