]> granicus.if.org Git - neomutt/commitdiff
build: add missing #ifdef for nntp
authorRichard Russon <rich@flatcap.org>
Tue, 13 Dec 2016 01:00:20 +0000 (01:00 +0000)
committerRichard Russon <rich@flatcap.org>
Fri, 23 Dec 2016 23:37:03 +0000 (23:37 +0000)
functions.h

index 877ce7e05a4da3f82e63d33c5c223a6b2ba81bac..85e229fa3502e98ed41455e62fb3287002a9a236 100644 (file)
@@ -394,7 +394,9 @@ const struct binding_t OpAttach[] = { /* map: attachment */
 const struct binding_t OpCompose[] = { /* map: compose */
   { "attach-file",     OP_COMPOSE_ATTACH_FILE,         "a" },
   { "attach-message",  OP_COMPOSE_ATTACH_MESSAGE,      "A" },
+#ifdef USE_NNTP
   { "attach-news-message",OP_COMPOSE_ATTACH_NEWS_MESSAGE,NULL },
+#endif
   { "edit-bcc",                OP_COMPOSE_EDIT_BCC,            "b" },
   { "edit-cc",         OP_COMPOSE_EDIT_CC,             "c" },
   { "copy-file",       OP_SAVE,                        "C" },