nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 2ce71a1332a8f2215056f2a03f311aa18f2fa363
parent a74e326448c8272f728dde6f32c8e4c584b70402
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 20 Jun 2025 10:51:04 +0200

tweaks: remove a check for a symbol that never gets defined

Twelve years ago, commit 2e4228f7 added a check for the 'ncursesw/
ncurses.h' header file.  A week later commit 66e5972c removed that
check again, but forgot to remove the corresponding #ifdef.

This addresses https://savannah.gnu.org/bugs/?67225.

Diffstat:
Msrc/definitions.h | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/definitions.h b/src/definitions.h @@ -60,10 +60,7 @@ #include <stdlib.h> #include <sys/stat.h> -/* Prefer wide ncurses over normal ncurses over curses. */ -#if defined(HAVE_NCURSESW_NCURSES_H) -#include <ncursesw/ncurses.h> -#elif defined(HAVE_NCURSES_H) +#ifdef HAVE_NCURSES_H #include <ncurses.h> #else #include <curses.h>