curses: build fix for italics attribute support

I've been building tty-only for a while in order to speed up
builds, so a recent change to the curses interface that broke
compile on older OSX went unnoticed.  The <curses.h> on my
OSX 10.11.6 system does not define A_ITALIC.
This commit is contained in:
PatR
2024-02-08 13:10:42 -08:00
parent ad8bcc6b3f
commit d682d8b3d3
2 changed files with 3 additions and 4 deletions

View File

@@ -12,10 +12,6 @@
#include <ctype.h>
#ifndef A_ITALIC
#define A_ITALIC A_UNDERLINE
#endif
/* Misc. curses interface functions */
/* Private declarations */