/***********************************************************************
*/
+#if defined(HAVE_DLOPEN) || defined(HAVE_LIBDL) || defined(WIN32)
static void *libldap = NULL;
#ifndef WIN32
static void *liblber = NULL;
#endif
+#endif
static int DynaOpen(const char **mod_name)
{
return (libldap != NULL);
#else
+ (void) mod_name;
return (0);
#endif
}
if (libldap) {
func = (dynafunc)GetProcAddress((HINSTANCE)libldap, name);
}
+#else
+ (void) name;
#endif
return func;
}