forked from PsychoticNinja/irssi
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_GMODULE
|
||||||
static char *module_get_name(const char *path, int *start, int *end)
|
static char *module_get_name(const char *path, int *start, int *end)
|
||||||
{
|
{
|
||||||
const char *name;
|
const char *name;
|
||||||
@ -243,7 +244,6 @@ static char *module_get_name(const char *path, int *start, int *end)
|
|||||||
return module_name;
|
return module_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_GMODULE
|
|
||||||
static GModule *module_open(const char *name)
|
static GModule *module_open(const char *name)
|
||||||
{
|
{
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user