commit: 3fb210fe87f1837fbcad4cfc5628d5e0e7f1071e
parent: 543b0e8ca6ef9201895ce5983d7b40fe3673c362
author: Tim Sedlmeyer <tim@sedlmeyer.org>
date: Fri, 28 Sep 2018 23:02:54 -0400
Correct #elif statements in emacs.c and var.c to use defined operator
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/emacs.c b/emacs.c
@@ -24,10 +24,10 @@
#ifdef HAVE_CURSES
# include <term.h>
# include <curses.h>
-#elif HAVE_NCURSES
+#elif defined(HAVE_NCURSES)
# include <term.h>
# include <ncurses.h>
-#elif HAVE_NCURSESNCURSES
+#elif defined(HAVE_NCURSESNCURSES)
# include <ncurses/term.h>
# include <ncurses/ncurses.h>
#endif
diff --git a/var.c b/var.c
@@ -18,10 +18,10 @@
#ifdef HAVE_CURSES
# include <term.h>
# include <curses.h>
-#elif HAVE_NCURSES
+#elif defined(HAVE_NCURSES)
# include <term.h>
# include <ncurses.h>
-#elif HAVE_NCURSESNCURSES
+#elif defined(HAVE_NCURSESNCURSES)
# include <ncurses/term.h>
# include <ncurses/ncurses.h>
#endif