From: Adam Dickmeiss Date: Tue, 30 Aug 2005 12:27:18 +0000 (+0000) Subject: Dont declare module_path if dlfcn.h is not set X-Git-Tag: before.bug.529~324 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=262720eca99a59a3bfcdc20703aa20b2257bf927;p=idzebra-moved-to-github.git Dont declare module_path if dlfcn.h is not set --- diff --git a/recctrl/recctrl.c b/recctrl/recctrl.c index 5709d8c..98c4076 100644 --- a/recctrl/recctrl.c +++ b/recctrl/recctrl.c @@ -1,4 +1,4 @@ -/* $Id: recctrl.c,v 1.20 2005-04-28 08:20:40 adam Exp $ +/* $Id: recctrl.c,v 1.21 2005-08-30 12:27:18 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -56,8 +56,10 @@ static void recTypeClass_add (struct recTypeClass **rts, RecType *rt, RecTypeClass recTypeClass_create (Res res, NMEM nmem) { struct recTypeClass *rts = 0; +#if HAVE_DLFCN_H const char *module_path = res_get_def(res, "modulePath", DEFAULT_MODULE_PATH); +#endif #ifdef IDZEBRA_STATIC_GRS_SGML if (1)