Merge pull request #248 from eworm-de/wctype

include wctype.h for iswprint()
This commit is contained in:
Hisham Muhammad 2015-08-26 23:42:32 -03:00
commit f3a9f5406b
2 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,10 @@ in the source distribution for its full text.
#include <curses.h> #include <curses.h>
#endif #endif
#ifdef HAVE_LIBNCURSESW
#include <wctype.h>
#endif
#define RichString_size(this) ((this)->chlen) #define RichString_size(this) ((this)->chlen)
#define RichString_sizeVal(this) ((this).chlen) #define RichString_sizeVal(this) ((this).chlen)

View File

@ -27,6 +27,10 @@ in the source distribution for its full text.
#include <curses.h> #include <curses.h>
#endif #endif
#ifdef HAVE_LIBNCURSESW
#include <wctype.h>
#endif
#define RichString_size(this) ((this)->chlen) #define RichString_size(this) ((this)->chlen)
#define RichString_sizeVal(this) ((this).chlen) #define RichString_sizeVal(this) ((this).chlen)