From 8ccb487c21368a7fdc8c7c72315325bf0aa06147 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:44:12 +0200 Subject: Adding upstream version 3:4.8.29. Signed-off-by: Daniel Baumann --- lib/tty/tty-ncurses.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 lib/tty/tty-ncurses.h (limited to 'lib/tty/tty-ncurses.h') diff --git a/lib/tty/tty-ncurses.h b/lib/tty/tty-ncurses.h new file mode 100644 index 0000000..8feb17c --- /dev/null +++ b/lib/tty/tty-ncurses.h @@ -0,0 +1,50 @@ + +#ifndef MC__TTY_NCURSES_H +#define MC__TTY_NCURSES_H + +/* for cchar_t, getcchar(), setcchar() */ +#ifndef _XOPEN_SOURCE_EXTENDED +#define _XOPEN_SOURCE_EXTENDED +#endif + +#ifdef USE_NCURSES +#ifdef HAVE_NCURSES_CURSES_H +#include +#elif defined (HAVE_NCURSES_NCURSES_H) +#include +#elif defined (HAVE_NCURSESW_CURSES_H) +#include +#elif defined (HAVE_NCURSES_HCURSES_H) || defined (HAVE_NCURSES_H) +#include +#else +#include +#endif +#endif /* USE_NCURSES */ + +#ifdef USE_NCURSESW +#include +#endif /* USE_NCURSESW */ + +/* netbsd-libcurses doesn't define NCURSES_CONST */ +#ifndef NCURSES_CONST +#define NCURSES_CONST const +#endif + +/* do not draw shadows if NCurses is built with --disable-widec */ +#if defined(NCURSES_WIDECHAR) && NCURSES_WIDECHAR +#define ENABLE_SHADOWS 1 +#endif + +/*** typedefs(not structures) and defined constants **********************************************/ + +/*** enums ***************************************************************************************/ + +/*** structures declarations (and typedefs of structures)*****************************************/ + +/*** global variables defined in .c file *********************************************************/ + +/*** declarations of public functions ************************************************************/ + +/*** inline functions ****************************************************************************/ + +#endif /* MC_TTY_NCURSES_H */ -- cgit v1.2.3