]> granicus.if.org Git - neomutt/commitdiff
mx: don't make MUTT_NNTP and MUTT_COMPRESSED conditional
authorDamien Riegel <damien.riegel@gmail.com>
Sat, 18 Feb 2017 19:19:58 +0000 (14:19 -0500)
committerRichard Russon <rich@flatcap.org>
Tue, 7 Mar 2017 12:08:04 +0000 (12:08 +0000)
Other symbols like MUTT_IMAP and MUTT_POP don't depend on their
respective configuration flags to be defined, keep the same logic for
MUTT_NNTP and MUTT_COMPRESSED. That makes it easier to remove some
ifdef.

mx.h

diff --git a/mx.h b/mx.h
index f084bc301132a528243baa2b150e68b39da907b3..c5a968610212a22e0f51ddc8688ddea7c8fc54ae 100644 (file)
--- a/mx.h
+++ b/mx.h
@@ -35,15 +35,11 @@ enum
   MUTT_MMDF,
   MUTT_MH,
   MUTT_MAILDIR,
-#ifdef USE_NNTP
   MUTT_NNTP,
-#endif
   MUTT_IMAP,
   MUTT_NOTMUCH,
-  MUTT_POP
-#ifdef USE_COMPRESSED
-  , MUTT_COMPRESSED
-#endif
+  MUTT_POP,
+  MUTT_COMPRESSED,
 };
 
 WHERE short DefaultMagic INITVAL (MUTT_MBOX);