Skip to content
Snippets Groups Projects
Commit c3427ac6 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Attempt to work around OpenBSD shipping with a 12-year-old version

of ncurses.
parent e5afc470
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1053 passed
......@@ -35,6 +35,13 @@
#define _XOPEN_SOURCE_EXTENDED 1
#include <ncurses.h>
#else
#ifdef __OpenBSD__
/* OpenBSD appears to ship with an old (5.7 from November 02, 2008) version
* of ncurses. This apparently predates both _XOPEN_SOURCE >= 500 and
* NCURSES_WIDECHAR support for enabling wide characters.
* so, define _XOPEN_SOURCE_EXTENDED to get these. */
#define _XOPEN_SOURCE_EXTENDED 1
#endif
#define NCURSES_WIDECHAR 1
#ifdef XCURSES
#include <xcurses.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment