+/*
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#include <stdlib.h>
#include <string.h>
#include <atalk/util.h>
-static int _mod_dummy;
-
-#ifdef NO_DLFCN_H
+#ifndef HAVE_DLFCN_H
#ifdef MACOSX_SERVER
#include <mach-o/dyld.h>
{
NSUnLinkModule(module, FALSE);
}
-#endif
+#endif /* MACOSX_SERVER */
-#else
+#else /* HAVE_DLFCN_H */
-#ifdef DLSYM_PREPEND_UNDERSCORE
#include <dlfcn.h>
+#ifdef DLSYM_PREPEND_UNDERSCORE
void *mod_symbol(void *module, const char *name)
{
void *symbol;
return symbol;
}
#endif /* DLSYM_PREPEND_UNDERSCORE */
-#endif /* NO_DLFCN */
+#endif /* HAVE_DLFCN_H */