Use plain libncurses with Apple

This commit is contained in:
Jimmy Thrasher 2014-04-02 20:54:49 -04:00
parent 0bb46c8968
commit 43b395533f

View File

@ -10,7 +10,12 @@
#define NCURSES_OPAQUE 0 #define NCURSES_OPAQUE 0
#define NCURSES_INTERNALS #define NCURSES_INTERNALS
#ifdef __APPLE__
#include <ncurses.h>
#else
#include <ncursesw/ncurses.h> #include <ncursesw/ncurses.h>
#endif
#include <signal.h> #include <signal.h>
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>