mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
module_get_name() should be inside #ifdef HAVE_GMODULE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1429 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
feab6175dc
commit
ad2b694585
@ -215,6 +215,7 @@ MODULE_REC *module_find(const char *name)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef HAVE_GMODULE
|
||||
static char *module_get_name(const char *path, int *start, int *end)
|
||||
{
|
||||
const char *name;
|
||||
@ -243,7 +244,6 @@ static char *module_get_name(const char *path, int *start, int *end)
|
||||
return module_name;
|
||||
}
|
||||
|
||||
#ifdef HAVE_GMODULE
|
||||
static GModule *module_open(const char *name)
|
||||
{
|
||||
struct stat statbuf;
|
||||
|
Loading…
Reference in New Issue
Block a user