From 2602f4efbd36f395d2186f9609cbd16734416a67 Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 12 Oct 2009 23:41:43 +0000 Subject: Encode module API version in the init_module symbol; fixes conflic with glibc-exported init_module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11863 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dynamic.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/dynamic.cpp') diff --git a/src/dynamic.cpp b/src/dynamic.cpp index b993b8af5..637a57db4 100644 --- a/src/dynamic.cpp +++ b/src/dynamic.cpp @@ -11,8 +11,6 @@ * --------------------------------------------------- */ -/* $Core */ - #include "inspircd.h" #include "dynamic.h" #ifndef WIN32 @@ -53,7 +51,7 @@ Module* DLLManager::callInit() return NULL; init_t initfn; - initfn.vptr = dlsym(h, "init_module"); + initfn.vptr = dlsym(h, MODULE_INIT_STR); if (!initfn.vptr) { err = dlerror(); -- cgit v1.2.3