1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-11-03 17:27:29 -05:00

Define _XOPEN_SOURCE_EXTENDED, required by old versions of NcursesW

The macro _XOPEN_SOURCE_EXTENDED is required by some old versions of
NcursesW for wide-character function definitions.
This commit is contained in:
John Zaitseff 2011-08-29 10:38:55 +10:00
parent 82ca16e110
commit e3733d8921

View File

@ -98,6 +98,8 @@
// X/Open-compatible Curses library
#define _XOPEN_SOURCE_EXTENDED 1 // Required by old versions of NcursesW
#if defined(HAVE_NCURSESW_CURSES_H)
# include <ncursesw/curses.h>
#elif defined(HAVE_NCURSESW_H)