mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Ticket #4181: FTBFS against NCurses on OS X 10.9.5.
lib/tty/tty-ncurses.h: define _XOPEN_SOURCE_EXTENDED to use cchar_t, getcchar(), setcchar(). Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
a75071b3c0
commit
ba62dd32ad
@ -2,6 +2,11 @@
|
||||
#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 <ncurses/curses.h>
|
||||
|
Loading…
Reference in New Issue
Block a user