Explicitly define NCURSES_WIDECHAR instead of _XOPEN_SOURCE

master
Andrzej Rybczak 9 years ago
parent e0a469fb9f
commit dff00a873a
  1. 3
      configure.ac
  2. 1
      src/curses/window.h

@ -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"

Loading…
Cancel
Save