From: Martin Mares Date: Sat, 11 Dec 2004 10:47:49 +0000 (+0000) Subject: Made DEFAULT_CONFIG optional. X-Git-Tag: holmes-import~858 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=3f75725cfd621af99332b21b81f3a5874d0ca2cd;p=libucw.git Made DEFAULT_CONFIG optional. --- diff --git a/lib/conf.c b/lib/conf.c index 28bbeaff..8168eb0c 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -28,6 +28,10 @@ static struct cfitem *cfsection; struct mempool *cfpool; +#ifndef DEFAULT_CONFIG +#define DEFAULT_CONFIG NULL +#endif + byte *cfdeffile = DEFAULT_CONFIG; static void CONSTRUCTOR