using namespace std;
-#include "globals.h"
#include "inspircd_config.h"
+#include "globals.h"
#include "dynamic.h"
#ifndef STATIC_LINK
if(LastError() == 0)
{
#ifdef STATIC_LINK
- GetSymbol( factory_func, factory ? factory : "init_module" );
+ GetSymbol( factory_func, factory ? factory : (char*)"init_module" );
#else
- GetSymbol( (void **)&factory_func, factory ? factory : "init_module" );
+ GetSymbol( (void **)&factory_func, factory ? factory : (char*)"init_module" );
#endif
}
}