Author: Aubrey Jaffer
Modified for libguile by Marius Vollmer */
+#if 0 /* Disabled until we know for sure that it isn't needed */
/* XXX - This is only here to drag in a definition of __eprintf. This
is needed for proper operation of dynamic linking. The real
solution would probably be a shared libgcc. */
{
assert (!maybe_drag_in_eprintf);
}
+#endif
#include <stdio.h>
#include "_scm.h"
char **argv;
{
char **av = argv;
- while(!(*av))
- free(*(av++));
+ while (*av)
+ free(*(av++));
free(argv);
}
static void sysdep_dynl_unlink SCM_P ((void *handle, char *subr));
static void *sysdep_dynl_func SCM_P ((char *symbol, void *handle, char *subr));
-#if defined (HAVE_LIBDL) || defined (HAVE_DLOPEN)
+#ifdef HAVE_DLOPEN
#include "dynl-dl.c"
#else
#ifdef HAVE_SHL_LOAD
#include "dynl-shl.c"
#else
-#ifdef HAVE_DLD
+#ifdef HAVE_LIBDLD
#include "dynl-dld.c"
#else
SCM ptr;
{
struct dynl_obj *d = (struct dynl_obj *)SCM_CDR (ptr);
- SCM_SETGC8MARK (ptr);
return d->filename;
}