Explicitly define NCURSES_WIDECHAR instead of _XOPEN_SOURCE
This commit is contained in:
@@ -26,9 +26,6 @@ if test "$clock" = "yes"; then
|
|||||||
AC_DEFINE([ENABLE_CLOCK], [1], [enables clock screen])
|
AC_DEFINE([ENABLE_CLOCK], [1], [enables clock screen])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# OSX needs at least 500 for ncursesw specific functions
|
|
||||||
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=700"
|
|
||||||
|
|
||||||
dnl ================================
|
dnl ================================
|
||||||
dnl = checking for -std=c++14 flag =
|
dnl = checking for -std=c++14 flag =
|
||||||
dnl ================================
|
dnl ================================
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
#define NCMPCPP_WINDOW_H
|
#define NCMPCPP_WINDOW_H
|
||||||
|
|
||||||
#define NCURSES_NOMACROS 1
|
#define NCURSES_NOMACROS 1
|
||||||
|
#define NCURSES_WIDECHAR 1
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user