X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fconf.c;h=de6598105cfe08e540eeda36a4725a37b3b37d6e;hb=2c9cf5b6e38800f6d79e5140f3b8565961374627;hp=28bbeaff954d2aa47c26f17ff2f0a8a324bf0661;hpb=2237687dce28209d9b1dd8ef23b9a915c80b390c;p=libucw.git diff --git a/lib/conf.c b/lib/conf.c index 28bbeaff..de659810 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -1,5 +1,5 @@ /* - * Sherlock Library -- Reading of configuration files + * UCW Library -- Reading of configuration files * * (c) 2001 Robert Spalek * (c) 2003 Martin Mares @@ -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