From: Thomas Roessler Date: Fri, 11 Aug 2006 09:08:20 +0000 (+0000) Subject: Use #ifdef in some appropriate places. (Particularly relevant X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76008d42c6238b1cd4d42ca03d82c26c27760fac;p=neomutt Use #ifdef in some appropriate places. (Particularly relevant when building the documentation.) --- diff --git a/init.h b/init.h index 93b24919e..66575f582 100644 --- a/init.h +++ b/init.h @@ -1105,7 +1105,7 @@ struct option_t MuttVars[] = { ** or less optimal for most use cases. */ #endif /* HAVE_GDBM || HAVE_DB4 */ -#if HAVE_QDBM +#if defined(HAVE_QDBM) { "header_cache_compress", DT_BOOL, R_NONE, OPTHCACHECOMPRESS, 0 }, /* ** .pp diff --git a/mutt.h b/mutt.h index 0523109e4..c72573c92 100644 --- a/mutt.h +++ b/mutt.h @@ -352,9 +352,9 @@ enum OPTFORCENAME, OPTFORWDECODE, OPTFORWQUOTE, -#if USE_HCACHE +#ifdef USE_HCACHE OPTHCACHEVERIFY, -#if HAVE_QDBM +#ifdef HAVE_QDBM OPTHCACHECOMPRESS, #endif /* HAVE_QDBM */ #endif