]> granicus.if.org Git - neomutt/commitdiff
Use #ifdef in some appropriate places. (Particularly relevant
authorThomas Roessler <roessler@does-not-exist.org>
Fri, 11 Aug 2006 09:08:20 +0000 (09:08 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Fri, 11 Aug 2006 09:08:20 +0000 (09:08 +0000)
when building the documentation.)

init.h
mutt.h

diff --git a/init.h b/init.h
index 93b24919ec3fb21875e82b1a2ba0b2c988b34663..66575f582043ecc28fa50f21fcb58bd76688b2ce 100644 (file)
--- 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 0523109e4f66647c5b084b149bd3034437f5abf7..c72573c92df67eea6768207701f93682418c8139 100644 (file)
--- 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